marp | math | theme |
---|---|---|
true |
mathjax |
rose-pine |
Start writing!
I am italic
I am
note
,,, ... """''';;;:::<><>??!~!#@$!^%&%*()"
- ww
- 22
-
$\sqrt{1+x} = {(1+x)}^\frac{1}{2} = 1+\frac{1}{2x}+o{x}$ I am blob
Put this to vscode setting
{
// etc...
"markdown.marp.themes": [
"https://raw.githubusercontent.com/rainbowflesh/Marp/master/css/rosepine-dawn.css",
"https://raw.githubusercontent.com/rainbowflesh/Marp/master/css/rosepine-moon.css",
"https://raw.githubusercontent.com/rainbowflesh/Marp/master/css/rosepine.css",
]
// etc...
}
Pythong
class test_class
def __superIdol
# A very super function
with open("myfile.txt", "r", encoding='utf8') as file:
for line in file:
print(line)
return Null
Jvav
public class Hello {
// main method
public static void main(String[] args)
{
// Output: Hello, world!
System.out.println("Hello, world!");
}
}
TypeScript
mounted() {
console.log("Wanna try something big? y/n");
console.log("%c >> n", "color:red");
}
JavaScript
// Named function
function rocketToMars() {
return 'BOOM!';
}
const sum = (param1, param2) => {
return param1 + param2;
};
console.log(sum(2,5)); // => 7
Bash
echo "wtf"
Rust
fn main(){
let mut array: [i32 ; 5] = [1,2,3,4,6];
let mut boo: true
print_arrays(array);
println!("The elements: {array:?}");
}
fn print_arrays(mut array:[i32; 5]) {
array[0] = 89;
array[1] = 90;
array[2] = 91;
array[3] = 92;
array[4] = 93;
println!("The elements: {array:?}");
}
Ruby
class Person < ApplicationRecord
validates :name, presence: true
end
C++++
class Hello {
// main method
static void Main(string[] args)
{
// Output: Hello, world!
Console.WriteLine("Hello, world!");
}
}
PowerShell
# Clock down
echo starting...
echo 'Please close manually if the windows no response.'
# Boot app
C:\Users\isri\AppData\Local\Microsoft\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\WsaClient.exe /launch wsa://com.teslacoilsw.launcher
echo 'app started'
adb connect 127.0.0.1:58526
# Get host ipv4
echo 'getting host ipv4...'
$MyIpv4 = Get-netipAddress | Where-Object {
$_.InterfaceAlias -eq 'Wi-Fi' -and $_.AddressFamily -eq 'IPv4'
} | Select-Object IPAddress | Format-Table -HideTableHeaders | Out-String
$MyIpv4 = $MyIpv4.Trim()
# Set port
$MyPort = 10809
# Set Porxyaddr
$Porxyaddr = $MyIpv4+':'+$MyPort
# Set following proxy
adb shell settings put global http_proxy $Porxyaddr
echo 'The following proxy is'
adb shell settings get global http_proxy
Timeout /T 3
exit
Cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello, world!" << endl;
return 0;
}
Golang
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
Haskell
"hello" == "hello world"
SQL
create database world;
use world;
create table hello (
id int not null auto_increment,
name varchar(255) not null,
primary key (id)
);
An awesome README template to jumpstart your projects!
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Blog page resource repo.
I recommend use pnpm
to manage package.
pnpm i
pnpm dev
pnpm build
bash ../.github/workflows/deploy.sh
note: You need change username to yours.
TODO: blog add kismet deploy
TODO: blog add blog creation
TODO: import 7.css, xp.css, 98.css, ios7.css
TODO: import suanming