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
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
# Handy aliases | |
alias diff='~/bin/diff.py' | |
alias documents='cd /d/Dokumenty/' |
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 | |
; Default color scheme | |
; for Windows command prompt. | |
; Values stored as 00-BB-GG-RR | |
[HKEY_CURRENT_USER\Console] | |
; BLACK DGRAY | |
"ColorTable00"=dword:00000000 | |
"ColorTable08"=dword:00808080 | |
; BLUE LBLUE |
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/python | |
def foreach(iterable): | |
def iterate_over(func): | |
iterator = iter(iterable) | |
while True: | |
try: | |
value=next(iterator) | |
func(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
; Pawel Maniecki | |
; Asemblery, IET AGH | |
.186 ; pusha, popa | |
_Dane segment | |
; Argumenty | |
argc db 0 ; ilosc argumentow ( dlugosc args ) | |
args dw 10h dup(?) ; offsety na poczatki argumentow w argv |
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
; Pawel Maniecki | |
; Asemblery, IET AGH | |
.186 ; pusha, popa | |
BUFSIZE = 4000h ; rozmiar bufora: 4*16*256 = 16*1024 = 16 KiB | |
_Dane segment | |
; Argumenty linii komend | |
argc db 0 ; ilosc argumentow ( dlugosc args ) |
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
; Pawel Maniecki | |
; Asemblery, IET AGH | |
; Zadanie 3: Rysowanie krzywej Kocha | |
; Maksymalna liczba iteracji dla L-systemu: 6 | |
; Maksymalna dlugosc odcinka: 100px | |
ITERMAX equ 6 ; Maksymalna ilosc iteracji ( nie wieksza od 6 ) | |
; Dlugosc napisu opisujacego krzywa Kocha dla n iteracji dana jest wzorem | |
; K(n) = 7 * 4^n |
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
module tester ( | |
//wejscia kontrolne | |
input clk, | |
input reset_n, | |
//interfejs do debugowania | |
output [1:0] dbg_state, | |
output [3:0] dbg_r0, | |
output [3:0] dbg_r1, | |
output [3:0] dbg_pc |
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
#include <stdio.h> | |
/* Scheduler includes. */ | |
#include "FreeRTOS.h" | |
#include "task.h" | |
#include "queue.h" | |
#include "semphr.h" | |
/* Library includes. */ | |
#include "stm32f10x.h" |
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
/// <reference path='../leaflet/leaflet.d.ts' /> | |
namespace L { | |
type LatLngExpression = L.LatLng | number[] | ({ lat: number; lng: number }); | |
export var JSMarker = L.Marker.extend({ | |
options: { title: 'MyMarker' }, | |
initialize: function(latLng: LatLngExpression, options?: L.MarkerOptions) { |
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
''' | |
Created on Feb 24, 2011 | |
The purpose of this script is to create the SDE connection file needed to connect to your SDE | |
@author: rrubalcava | |
''' | |
import os, arcpy | |
class CreateSDEConnection: |
OlderNewer