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/sh | |
#variables | |
defaultDueDate=48h | |
dailiesTag="+dailies" | |
add_kanji_grind() | |
{ | |
tags="$dailiesTag +kanji +jp" | |
project=japanese |
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
#ifndef QUEUE_H | |
#define QUEUE_H | |
template <typename T> | |
class Queue | |
{ | |
public: | |
Queue(size_t const &capacity = 100); | |
~Queue(); |
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 subprocess | |
import shutil | |
def get_id6(file): | |
result = subprocess.run(['wit','ID6', file], stdout=subprocess.PIPE) | |
return result.stdout.decode('utf-8') | |
def make_new_dir(dir_name): | |
cwd = os.getcwd(); |
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
:root{ /*edit these to change settings*/ | |
/*font size*/ | |
--cfg-font-family:"Merriweather", serif; /*merriweather default*/ | |
--cfg-font-size: 18px; /*18px good on ff linux, windows chromium seems to need 20-22px */ | |
--cfg-font-weight: 400; /*400 default*/ | |
--cfg-line-height: 32.4px; /*32.4px default*/ | |
/*colors*/ | |
--cfg-font-color: #ccc; /*#ccc default*/ |
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
================================ | |
duolingo.com | |
INVERT | |
.qLLbC | |
._2boWj | |
CSS | |
._1gz3r{ |
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
[ashton@Uroboros Debug]$ grep -n "__GL_" gl.txt | |
18:libGLX_nvidia.so.0->getenv("__GL_HEAP_ALLOC_LIMIT") = nil | |
19:libGLX_nvidia.so.0->getenv("__GL_APPLICATION_PROFILE") = nil | |
20:libGLX_nvidia.so.0->getenv("__GL_APPLICATION_PROFILE_LOG") = nil | |
21:libGLX_nvidia.so.0->getenv("__GL_MAYA_OPTIMIZE") = nil | |
27:libGLX_nvidia.so.0->getenv("__GL_FLUSH_CONTROL") = nil | |
28:libGLX_nvidia.so.0->getenv("__GL_FORCE_DIRECT") = nil | |
29:libGLX_nvidia.so.0->getenv("__GL_FORCE_INDIRECT") = nil | |
30:libGLX_nvidia.so.0->getenv( |
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
# - Find Assimp Installation | |
# | |
# Users can set the following variables before calling the module: | |
# ASSIMP_DIR - The preferred installation prefix for searching for ASSIMP. Set by the user. | |
# | |
# ASSIMP_ROOT_DIR - the root directory where the installation can be found | |
# ASSIMP_CXX_FLAGS - extra flags for compilation | |
# ASSIMP_LINK_FLAGS - extra flags for linking | |
# ASSIMP_INCLUDE_DIRS - include directories | |
# ASSIMP_LIBRARY_DIRS - link directories |
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
while (!glfwWindowShouldClose(window)) | |
{ | |
// per frame logic | |
// --------------- | |
float currentFrame = static_cast<float>(glfwGetTime()); | |
deltaTime = currentFrame - lastFrame; | |
lastFrame = currentFrame; | |
// input | |
// ----- |
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
// This file is part of www.nand2tetris.org | |
// and the book "The Elements of Computing Systems" | |
// by Nisan and Schocken, MIT Press. | |
// File name: projects/04/Fill.asm | |
// Runs an infinite loop that listens to the keyboard input. | |
// When a key is pressed (any key), the program blackens the screen, | |
// i.e. writes "black" in every pixel. When no key is pressed, the | |
// program clears the screen, i.e. writes "white" in every pixel. |
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
// This file is part of www.nand2tetris.org | |
// and the book "The Elements of Computing Systems" | |
// by Nisan and Schocken, MIT Press. | |
// File name: projects/04/Fill.asm | |
// Runs an infinite loop that listens to the keyboard input. | |
// When a key is pressed (any key), the program blackens the screen, | |
// i.e. writes "black" in every pixel. When no key is pressed, the | |
// program clears the screen, i.e. writes "white" in every pixel. |