A Pen by Jeremy Karlsson on CodePen.
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
Traceback (most recent call last): | |
File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\werkzeug\wsgi.py", line 650, in __call__ | |
return app(environ, start_response) | |
File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1836, in __call__ | |
return self.wsgi_app(environ, start_response) | |
File "C:\Users\User\Projects\WaveRate\waverate\middleware.py", line 58, in __call__ | |
return self.app(environ, start_response) | |
File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1820, in wsgi_app | |
response = self.make_response(self.handle_exception(e)) | |
File "C:\Users\User\AppData\Local\Programs\Python\Python35\lib\site-packages\flask\app.py", line 1403, in handle_exception |
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
worker_processes 1; | |
events { | |
worker_connections 1024; | |
} | |
pid ROOT/nginx_user.pid; | |
http { | |
access_log ROOT/nginx_access.log; |
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
#! /bin/sh | |
Xephyr -ac -br -noreset -screen 1024x720 :2.0 & | |
XEPHYR_PID=$! | |
sleep 1 | |
DISPLAY=:2.0 ./wm/budgie-wm | |
kill $XEPHYR_PID |
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
// constants ------------------------------------------------------------------- | |
var alliedTypes = { | |
peasant: 'peasant', | |
soldier: 'soldier', | |
knight: 'knight', | |
librarian: 'librarian', | |
griffinRider: 'griffin-rider', | |
captain: 'captain' | |
}; |
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
package com.zetaworx.proboblyawesome.handler.database; | |
import java.io.File; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.FileReader; | |
import java.io.FileWriter; | |
import java.io.IOException; | |
import java.util.ArrayList; |
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
''' | |
Description: Renames/Moves all files in a folder of execution to a subfolder of choice and | |
then into a subfolder depending on mimetype, ignores script itself. | |
----- | |
Date: Thursday, 20 March 2014, 07:40:00 CST | |
Author: ZetaHunter | |
Credit: Fellow redditors SatanKidneyPie and vmsmith. | |
''' | |
import os | |
import mimetypes |
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 os | |
#Check and/or create directory 'dirname'. | |
def make_dir(dirname): | |
if os.path.isdir(dirname) != True: | |
os.mkdir(dirname) | |
#Check and/or rename file 'fr' to 'to' | |
def move_file(fr, to): | |
if os.path.isfile(to) != True: |
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
#version 420 | |
uniform mat4 projection_matrix; | |
uniform mat4 model_matrix; | |
void main() | |
{ | |
int tri = gl_VertexID / 3; | |
int idx = gl_VertexID % 3; | |
int face = tri / 2; |
NewerOlder