This file contains hidden or 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
| # M | |
| # This file has been auto-generated by i3-config-wizard(1). | |
| # It will not be overwritten, so edit it as you like. | |
| # | |
| # | |
| # i3 config file (v4) | |
| # | |
| # Please see http://i3wm.org/docs/userguide.html for a complete reference! |
This file contains hidden or 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
| class Library(): | |
| books = [] | |
| def addBooks(self, book): | |
| self.books.append(book) | |
| def borrowBook(self, bookname): | |
| for book in self.books: |
This file contains hidden or 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
| import java.util.ArrayList;//importere array funksjonen ifra biblioteket | |
| import java.util.Iterator;//importere iterator funksjonen ifra biblioteket | |
| /** | |
| * Bibliotek prosjekt, laget for å kunne skaffe oversikt over hva som er inne | |
| * det er ikke lagt til hvem som låner hva eller hvem utlåner er. | |
| * | |
| * @author (Jørn Utheim-Olsen | |
| * @version (1.0) | |
| */ | |
| public class Library |
This file contains hidden or 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
| import string | |
| def encode(phrase): | |
| final = [] | |
| rot13 = string.maketrans( | |
| "ABCDEFGHIJKLMabcdefghijklmNOPQRSTUVWXYZnopqrstuwxyz", | |
| "NOPQRSTUVWXYZnopqrstuwxyzABCDEFGHIJKLMabcdefghijklm" | |
| ) |
This file contains hidden or 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> | |
| int main(void){ | |
| int c; | |
| int e; | |
| while((c=getchar()) !=EOF){ | |
| if(c >='A' && c<='Z'){ | |
| if((e = c + 13) <= 'Z'){ |
This file contains hidden or 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
| ARCH LINUX NOTES. By: Matthew_Moore | |
| Creating and Formatting Live USB images with DD | |
| To View Drives use | |
| sudo fdisk -l | |
| Creating a Live USB ( Drive Needs to be unmounted ) |
This file contains hidden or 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
| [%] ~/.config/nvim/config | |
| $ |
This file contains hidden or 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
| if has("vim_starting") | |
| if has("unix") | |
| let s:uname = system("uname -s") | |
| if s:uname == "Darwin\n" | |
| "Mac stuff here | |
| set runtimepath+=/Users/cruor/.config/nvim/bundle/neobundle.vim | |
| call neobundle#begin(expand("/Users/cruor/.config/nvim/bundle")) | |
| endif | |
| if s:uname == "Linux\n" | |
| let s:uname = system("echo -n \"$(uname)\"") |
This file contains hidden or 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=utf8 | |
| # version: 0.6.0 | |
| import sys | |
| import psMat | |
| import re | |
| import os | |
| import argparse | |
| import errno |
This file contains hidden or 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
| extern crate rand; | |
| use rand::{thread_rng, Rng}; | |
| use std::io; | |
| use std::option::Option; | |
| use std::str::FromStr; | |
| pub enum Value { | |
| Ace, |