(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
#!/usr/bin/python | |
# autoflag your text | |
import random | |
charset={ | |
" ":["_"], | |
"!":["!"], | |
"\"":["\""], | |
"#":["#"], | |
"$":["$"], |
<?php | |
require_once('koneksi.php'); | |
$sql = mysqli_query($conn, "SELECT id_data, tempat_wisata, dcuaca, djumlah_pengunjung, dspot_wisata, dtiket_wisata, dfasilitas_umum | |
FROM data, alternatif where data.id_alt=alternatif.id_alternatif"); | |
//Pembagi | |
while ($data1= mysqli_fetch_array($sql)){ | |
$c[] = pow($data1['dcuaca'],2); | |
$j[] = pow($data1['djumlah_pengunjung'],2); |
# import serial | |
import re | |
import time | |
import csv | |
# import mysql.connector | |
# from mysql.connector import Error | |
# from mysql.connector import errorcode | |
from datetime import datetime | |
from pprint import pprint |
#!/usr/bin/python | |
# crawl | |
from bs4 import BeautifulSoup as bs4 | |
# import MySQLdb | |
# import os | |
# from Connection import * | |
def getlitext(f): |
import string | |
""" | |
sort of meta-programming generator | |
likethis | |
function dibch(){ | |
echo " | |
1 /media/c/ | |
2 /media/c/play/ |
#sh cmd bookmark result | |
function f(){ | |
echo "1 cd ./domains/mmasjid.com/dev | |
2 cd ./domains/mmasjid.com/dev/ | |
3 git add . | |
4 git add .gitignore | |
5 git branch | |
6 git branch dev | |
7 git branch -l | |
8 git branch --set-upstream-to=origin/adib adib |
<?php | |
//integralnya kd | |
//by adib | |
function f1($x=1){ | |
return | |
($x**3-22*($x**2))/8 | |
- | |
((1/24)*$x**3) | |
; |
# -*- coding: utf-8 -*- | |
# text 2 img | |
from PIL import Image, ImageDraw, ImageFont | |
bg={ | |
'white':(255, 255, 255), | |
'red':(160, 0, 0), | |
'darkblue':(0, 0, 80), | |
'db2':(25, 50, 100), |
/** | |
BasicHTTPClient.ino | |
Created on: 24.05.2015 | |
*/ | |
#include <Arduino.h> |