#telegram #tips #plus1
Telegram 官方 Desktop 客户端现在可以创建格式化文本链接了!
只需要在消输入息框使用弹出菜单->Formatting 即可快速格式化文本
对应 Markdown
对应 Markdown
对应 Markdown
Link/链接:Ctrl+K
无对应 Markdown ( [foo](https://) 是无效的 )
Telegram 官方 Desktop 客户端现在可以创建格式化文本链接了!
只需要在消输入息框使用弹出菜单->Formatting 即可快速格式化文本
快捷键:Bold/粗体:Ctrl+K
对应 Markdown
__text__ **Text**
Italic/斜体:Ctrl+I对应 Markdown
_text_ *Text*
Monospace/等宽:Ctrl+Shift+M对应 Markdown
```MultiLineText```Plain/无格式:Ctrl+Shift+N
`SingleLineText`
Link/链接:Ctrl+K
无对应 Markdown ( [foo](https://) 是无效的 )
#web #dev #tips 快速创建 Web 前端:
Script tag
async 表示加载时不要等待获取脚本
charset 可选
关于 HTML Head 中可用标签
<!DOCTYPE html>HTML Tag
<html lang="en" dir="ltr"></html>// lang: en/zh-cn
Script tag
<script type="" async="" charset="UTF-8" src="script_location"></script>type 默认 text/javascript,如果不是浏览器当它普通文本块由第三方脚本处理执行
async 表示加载时不要等待获取脚本
charset 可选
关于 HTML Head 中可用标签
<meta charset="UTF-8 / utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
; <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1">
; <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
<title>Tab Title</title>
<link rel="mask-icon" href="https://assets-cdn.github.com/pinned-octocat.svg" color="#000000">
<meta property="og:site_name" content="OpenGraph title">
<meta property="og:url" content="https://www.microsoft.com/zh-cn">
<meta property="og:title" content="Page">
<meta property="og:description" content="At Microsoft our mission and values are to help people and businesses throughout the world realize their full potential.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://assets-cdn.github.com/images/modules/open_graph/github-logo.png">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="1200">
<meta name="theme-color" content="#2196F3">
<link rel="alternate" type="application/atom+xml" title="ATOM" href="/">
<meta content="index,follow" name="robots">
<meta content="telphone=no, email=no" name="format-detection">
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<meta name="description" content="Desc">
<link rel="icon" href="https://all-dream.com/favicon.ico">
<link rel="SHORTCUT ICON" href="https://a.com/favicon.ico" type="image/x-icon">
<link rel="dns-prefetch" href="//statics-marketingsites-neu-ms-com.akamaized.net">
<link rel="preconnect" href="//statics-marketingsites-neu-ms-com.akamaized.net">
<link rel="preload" as="font" crossorigin="crossorigin" type="font/woff" href="https://w.woff2">
<link rel="preload" as="script" href="//www">
<link rel="stylesheet" href="//www" type="text/css" media="all">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
<link rel="canonical" href="https://www.foo.com">
<script type="text/javascript" charset="utf-8" async="" data-requirecontext="_" data-requiremodule="//audiencemanager.js"></script>
<link rel="stylesheet" href="https://cdnjs.loli.net/ajax/libs/mdui/0.4.1/css/mdui.min.css">#PL #recommended #project 外国有人准备制作一个类 C 和 Haskell 并准备支持类似现在一些新语言的特性(包括语法上的),手动管理内存的编译性语言叫 Jai
它还支持反射和函数泛型、不错的新特性等
It looks like this:
counter: int =
name: string =
average: float =
counter :=
counter: int; // w/o initialize like C int counter;
sum :: (x: float, y: float, z: float) -> float {
return x + y + z;
}
print(
Vector2 :: struct {
x: float;
y: float;
}
a: [
print_int_array :: (a: [] int) -> fooSt
for i :
print("%\n", it);
print("%\n", it_index);
}
#run generate_linear_srgb(); // 支持编译时运行宏 #run invokes the compile time execution
sum :: (a: $T, b: T) -> T {
return a + b;
}
#bake sum(a,
print_any :: (a: Any) {
if a.type.type == Type_Info_Tag.FLOAT
else if // ....
}
node :: struct {
owned_a : !* node =
owned_b : !* node =
}
example: node = new node;
delete example;
#inline fn
#no_inline fn_b
它还支持反射和函数泛型、不错的新特性等
It looks like this:
counter: int =
0;name: string =
"Jon";average: float =
0.5 * (x+y);counter :=
0; // int countercounter: int; // w/o initialize like C int counter;
sum :: (x: float, y: float, z: float) -> float {
return x + y + z;
}
print(
"Sum: %\n", sum(1, 2, 3));Vector2 :: struct {
x: float;
y: float;
}
a: [
50] int;print_int_array :: (a: [] int) -> fooSt
for i :
0..n-1 {print("%\n", it);
print("%\n", it_index);
}
#run generate_linear_srgb(); // 支持编译时运行宏 #run invokes the compile time execution
sum :: (a: $T, b: T) -> T {
return a + b;
}
#bake sum(a,
1) // a += 1print_any :: (a: Any) {
if a.type.type == Type_Info_Tag.FLOAT
else if // ....
}
node :: struct {
owned_a : !* node =
null;owned_b : !* node =
null;}
example: node = new node;
delete example;
#inline fn
#no_inline fn_b
GitHub
JaiPrimer/JaiPrimer.md at master · BSVino/JaiPrimer
A description of Jonathan Blow's programming language, Jai - BSVino/JaiPrimer
Forwarded from 网络安全事件SecEvents (Zer0D4y | symantec.com/theme/star)
提前发现高危漏洞,微软、苹果致谢支付宝安全实验室
微软和苹果分别在官网发布安全公告,致谢蚂蚁金服光年安全实验室及时发现其平台上的高危漏洞,避免更多用户中招。这2个漏洞会导致用户的主机被远程控制。
编号为CVE-2018-4264的漏洞存在Safari浏览器的JSC引擎中,CVE-2018-8283漏洞存在于Edge浏览器的ChakraCore引擎中。在访问网站时,攻击者可以通过这些漏洞在网页中执行特殊构造的脚本代码,造成浏览器崩溃,甚至可能存在可以远程执行代码的风险,从而控制用户的主机。目前,微软和苹果已将漏洞修复。
微软和苹果分别在官网发布安全公告,致谢蚂蚁金服光年安全实验室及时发现其平台上的高危漏洞,避免更多用户中招。这2个漏洞会导致用户的主机被远程控制。
编号为CVE-2018-4264的漏洞存在Safari浏览器的JSC引擎中,CVE-2018-8283漏洞存在于Edge浏览器的ChakraCore引擎中。在访问网站时,攻击者可以通过这些漏洞在网页中执行特殊构造的脚本代码,造成浏览器崩溃,甚至可能存在可以远程执行代码的风险,从而控制用户的主机。目前,微软和苹果已将漏洞修复。
Forwarded from 永久封存 | Yuuta 台 | 😷 #Pray4Wuhan (Yuuta)
整了个 Win10 + ElementaryOS 双系统(参照 https://www.jianshu.com/p/969a532c0202 ),Linux 安装成功了,但是重启进 UEFI 的话还是 Windows Boot Manager,只能进 Win,Linux 如何引导呢?
简书
Win10下安装ElementaryOS双系统:UEFI和Legacy引导
最近在学习编程,开始了解Linux,在网上看了很多Linux发行版的对比,最后决定安装ElementaryOS,主要因为看着比较漂亮··· 但Win10作为主力系统,日常生活...