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
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 | |
locale-gen en_US.UTF-8 | |
sudo dpkg-reconfigure locales |
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
File Edit Options Buffers Tools Python Help | |
# -*- coding:utf-8 -*- | |
import pygame | |
import sys | |
import os.path | |
BLACK = ( 0, 0, 0) | |
WHITE = (255, 255, 255) | |
GRAY = (126, 126, 126) | |
SCREEN_WIDTH = 1280 |
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
# reading passphrase from stdin | |
network={ | |
ssid="AirPort Time Capsule" | |
#psk="01012341234" | |
psk=fsdfsafsf | |
} |
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 | |
WEBSERVERS[1]="1.1.1.1" | |
SHELLUSER=userid | |
SVN_USER=svn_user | |
SVN_PASSWD=svn_password | |
COMMAND="svn update /var/www/htdocs --username $SVN_USER --password $SVN_PASSWD" | |
for HOST in "${WEBSERVERS[@]}" |
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
from django.shortcuts import render | |
from django.http import HttpResponse | |
from django.shortcuts import render, redirect | |
from polls.forms import PollForm | |
from polls.models import PollInfo, Poll | |
import re | |
class PHPSession: | |
data = None |
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
ssh -o ServerAliveInterval=30 -o ForwardX11Timeout=8h -X iz4blue@targetserver.com |
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
export LANG=en_US.UTF-8 | |
export LC_CTYPE=en_US.UTF-8 |
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
#!/usr/bin/env python | |
#-*- coding: utf-8 -*- | |
prices = { | |
"banana": 4, | |
"apple": 2, | |
"orange": 1.5, | |
"pear": 3, | |
} | |
stock = { |
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
<html> | |
<head> | |
<title>Synology Web Assistant</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="google" content="notranslate" /> | |
<meta http-equiv="X-UA-Compatible" content="IE=8" /> | |
<meta name="viewport" content="initial-scale=1.0; maximum-scale=1.0;"/> | |
<link rel="stylesheet" type="text/css" href="./extjs/resources/css/ext-all.css?v=0029" /> |
NewerOlder