Skip to content

Instantly share code, notes, and snippets.

View ehzawad's full-sized avatar
🎃
Wasteland Baby!

ehzawad ehzawad

🎃
Wasteland Baby!
View GitHub Profile
.model small
.stack 100h
.data
char db ?
.code
"dl" delete character (alias: "x") |dl|
"diw" delete inner word *diw*
"daw" delete a word *daw*
"diW" delete inner WORD (see |WORD|) *diW*
"daW" delete a WORD (see |WORD|) *daW*
"dgn" delete the next search pattern match *dgn*
"dd" delete one line |dd|
"dis" delete inner sentence *dis*
"das" delete a sentence *das*
"dib" delete inner '(' ')' block *dib*
On the Dropbox menu go to Preferences. Deselect "Start Dropbox on system startup"
Go to Session and Startup > Application Autostart and add the following startup item:
bash -c 'export DBUS_SESSION_BUS_ADDRESS="" && dropbox start -i'
# Installation process of composer
echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc
mkdir -p ~/.composer/vendor/bin
curl -sS https://getcomposer.org/installer | php -- --install-dir=$HOME/.composer/vendor/bin --filename=composer
[
{
"directory": "/home/kick/",
"command": "/usr/bin/clang++ -stdlib=libc++ -std=c++1y -lc++abi -Werror -Wself-assign -Wall -pedantic-errors -Wextra-tokens -Wambiguous-member-template -lpthread",
"file": "~/file.cpp"
}
]
.hgignore
node_module
.DS_Store
Thumbs.db
# Compiled Object files
*.slo
*.lo
*.o
*.obj
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteBase /
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
<?php
class foo {
public $value = 42;
public function &getValue(){
return $this->value;
}
}
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
readnum macro num
push ax
push dx ;pushing ax,dx in stack to keep the previous values
;protected
mov ah, 01h ;read character function
int 21h ;execute the function