This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
کپی غیر قانونی | |
fzerorubigd | |
نوامبر 25 18:22 | |
سلام | |
اول اینکه ممنون از اینکه چنین کاری رو راه انداختید و کلی از مشکلات | |
ما رو حل کردید. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo 37 > /sys/class/gpio/export | |
echo 38 > /sys/class/gpio/export | |
echo 39 > /sys/class/gpio/export | |
echo 40 > /sys/class/gpio/export | |
echo high > /sys/class/gpio/gpio37/direction | |
echo high > /sys/class/gpio/gpio38/direction | |
echo high > /sys/class/gpio/gpio39/direction | |
echo high > /sys/class/gpio/gpio40/direction | |
echo 1 > /sys/class/gpio/gpio37/value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
font = xft:inconsolata:size=10 | |
# The format of the message. Possible variables are: | |
# %a appname | |
# %s summary | |
# %b body | |
# %i iconname (including its path) | |
# %I iconname (without its path) | |
format = "%s %b" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout somewhen, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\ESET\ESET Security\CurrentVersion\Info] | |
"PackageFeatures"=dword:00000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "keyboard" | |
Driver "evdev" | |
MatchIsKeyboard "on" | |
Option "XkbModel" "evdev" | |
Option "XkbLayout" "us,ir" | |
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll" | |
EndSection | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Transforms an under_scored_string to a camelCasedOne | |
*/ | |
function camelize($scored) { | |
return lcfirst( | |
implode( | |
'', | |
array_map( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TMUX | |
if [ -z `tty | grep tty` ] ; then | |
if which tmux 2>&1 >/dev/null; then | |
# if no session is started, start a new session | |
test -z ${TMUX} && tmux | |
# when quitting tmux, try to attach | |
while test -z ${TMUX}; do | |
tmux attach || break | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TMUX | |
if [ -z `tty | grep tty` ] ; then | |
if which tmux 2>&1 >/dev/null; then | |
# if no session is started, start a new session | |
test -z ${TMUX} && tmux | |
# when quitting tmux, try to attach | |
while test -z ${TMUX}; do | |
echo "Press enter to attach to other tmux instanse, or anything then enter to just leave" | |
read attachto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme version="1.0" name="Solarized-Dark"> | |
<!-- Based on the Solarized color scheme by Ethan Schoonover: | |
http://ethanschoonover.com/solarized --> | |
<style name="Text" foreground="#839496" background="#002b36"/> | |
<style name="Extra" foreground="#839496" background="#073642"/> | |
<style name="Selection" background="#77ddff"/> | |
<style name="CurrentLine" background="#002b36"/> | |
<style name="IndentLine" foreground="#008B8B"/> | |
<style name="VisualWhitespace" foreground="#c0c0c0"/> |