start new:
tmux
start new with session name:
tmux new -s myname
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 Jed Schmidt <http://jed.is> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
#!/bin/bash | |
MEM=1024 | |
LAN=eth0 | |
BRIDGE=virtbr | |
ARCH=x86_64 # i386 | |
#BIOS="-bios OVMF.fd" # to emulate an UEFI netboot | |
# supported wifi interfaces can be bridged if you set 4addr mode first: | |
# iw dev $LAN set 4addr on |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"net/http" | |
"regexp" | |
) | |
func handler(w http.ResponseWriter, r *http.Request) { |
#!/bin/bash | |
# Download_Songs.sh | |
# By Noah Betzen (Nezteb) | |
# | |
# Requires youtube-dl: https://rg3.github.io/youtube-dl/ | |
# You can install youtube-dl via most package managers: | |
# brew install youtube-dl | |
# apt-get install youtube-dl | |
# |
/*<?php | |
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
//\u000A\u002F\u002A | |
class PhpJava { | |
static function main() { | |
echo(//\u000A\u002A\u002F | |
"Hello World!"); | |
}} | |
//\u000A\u002F\u002A | |
PhpJava::main(); |
This is a cheat sheet for how to perform various actions to ZSH, which can be tricky to find on the web as the syntax is not intuitive and it is generally not very well-documented.
Description | Syntax |
---|---|
Get the length of a string | ${#VARNAME} |
Get a single character | ${VARNAME[index]} |