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
import os | |
import sys | |
import urllib | |
import urllib2 | |
import re | |
import time | |
if not len(sys.argv) >= 3: | |
print "Missing parameters." | |
print "Usage: python 4chan.py <url> <folder>" |
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
class S | |
{ | |
public: | |
static S& getInstance() | |
{ | |
static S instance; // Guaranteed to be destroyed. | |
// Instantiated on first use. | |
return instance; | |
} | |
private: |
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
import os | |
def leall(percmulva): | |
os.system("shutdown -s -t "+percmulva*60) |
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
class SquareMatrix(): | |
"""Square matrix implementation by thenonameguy""" | |
def __init__(self,size): | |
self.size = size | |
self.emptyMatrix() | |
def emptyMatrix(self): | |
self.matrix=[[0 for i in range(self.size)]for j in range(self.size)] | |
def makeIdentity(self): |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace TortOsztalyosGrafikus |
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 main | |
import ( | |
"encoding/json" | |
"errors" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"net/url" | |
"strconv" |
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 main | |
import ( | |
"flag" | |
"image" | |
"image/color" | |
"image/png" | |
"log" | |
"math" | |
"os" |
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
(ns enchilada.simple-demo | |
(:require | |
[jayq.core :refer [show]] | |
[enchilada :refer [ctx canvas]] | |
[monet.canvas :refer [fill-style fill-rect]])) | |
(def dummy) | |
(show canvas) | |
(-> |
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
{:linters | |
{:invalid-arity | |
{:skip-args [clojure.template/do-template]}} | |
:lint-as {com.wsscode.pathom.connect/defresolver clojure.core/defn | |
com.wsscode.pathom.connect/defmutation clojure.core/defn | |
ghostwheel.core/>defn clojure.core/defn | |
ghostwheel.core/>defn- clojure.core/defn | |
fulcro.client.primitives/defsc clojure.core/defn | |
mount.core/defstate clojure.core/def}} |
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
(ns com.wsscode.pathom.viz.standalone.base) | |
(defonce app (atom nil)) | |
(defn reconciler [] | |
(some-> app deref :reconciler)) | |
(defn networks [] | |
(some-> app deref :networking)) |
OlderNewer