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
cp /etc/hosts /etc/hosts.backup && | |
for h in $( echo 'blip.pl | |
flaker.pl | |
ign.com | |
joemonster.org | |
jogger.pl | |
onet.pl | |
polygamia.pl | |
wyborcza.pl | |
wykop.pl |
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 | |
dd=`pwd` | |
pi=`ps -eo pid,command | grep flashplayer |grep -v grep | cut -f1 -d ' '` | |
if [ "$pi" = "" ] ; | |
then | |
pi=`ps -eo pid,command | grep flashplayer |grep -v grep | cut -f2 -d ' '` | |
fi |
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 | |
#login i haslo do bramki http://smsfree.pl/ | |
smslogin="" | |
smspass="" | |
numer="" | |
msg="przyklad wiadomosci" | |
web="http://pb.mat.ug.edu.pl/analiza/" |
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
package lab02 | |
object Cw { | |
import sys.error | |
def pred(x: Int) = x-1; | |
def succ(x: Int) = x+1; | |
def add(x: Int,y: Int) :Int =if(x != 0) add(pred(x),succ(y)) else y | |
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
# -*- coding: utf-8 -*- | |
# Copyright Google Inc. 2010 All Rights Reserved | |
require 'open-uri' | |
require 'json' | |
require 'active_support/core_ext' | |
require 'net/http' | |
ELEVATION_BASE_URL = 'http://maps.google.com/maps/api/elevation/json' | |
CHART_BASE_URL = 'http://chart.apis.google.com/chart' |
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
# Please make this file available to others | |
# by sending it to <lirc@bartelmus.de> | |
# | |
# this config file was automatically generated | |
# using lirc-0.8.2(default) on Sun Aug 12 02:13:30 2007 | |
# | |
# contributed by Ben Adler @ gmx dot net | |
# | |
# brand: Medion / X10 (part of http://www.medion.de/md8824/) | |
# remote control: RF Vista Remote Control (OR24V) |
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
//FightCode can only understand your robot | |
//if its class is called Robot | |
var Robot = function(robot) { | |
robot.clone(); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; |
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
mount --bind /dev /mnt/chroot-system/dev | |
mount --bind /proc /mnt/chroot-system/proc | |
mount --bind /sys /mnt/chroot-system/sys | |
cp /etc/resolv.conf /mnt/chroot-system/etc/resolv.conf | |
chroot /mnt/chroot-system su |
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
mkdir new-project | |
cd new-project | |
git init | |
npm init |
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
npm install webpack --global | |
npm install webpack --save-dev |
OlderNewer