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
@code = global [2401 x i64] [ i64 32, i64 93, i64 10, i64 64, i64 104, i64 101, i64 97, i64 100, i64 101, i64 114, i64 32, i64 61, i64 32, i64 103, i64 108, i64 111, i64 98, i64 97, i64 108, i64 32, i64 91, i64 51, i64 49, i64 32, i64 120, i64 32, i64 105, i64 56, i64 93, i64 32, i64 99, i64 34, i64 64, i64 99, i64 111, i64 100, i64 101, i64 32, i64 61, i64 32, i64 103, i64 108, i64 111, i64 98, i64 97, i64 108, i64 32, i64 91, i64 50, i64 52, i64 48, i64 49, i64 32, i64 120, i64 32, i64 105, i64 54, i64 52, i64 93, i64 32, i64 91, i64 32, i64 92, i64 48, i64 48, i64 34, i64 10, i64 64, i64 116, i64 101, i64 114, i64 109, i64 105, i64 110, i64 97, i64 116, i64 111, i64 114, i64 32, i64 61, i64 32, i64 103, i64 108, i64 111, i64 98, i64 97, i64 108, i64 32, i64 91, i64 55, i64 32, i64 120, i64 32, i64 105, i64 56, i64 93, i64 32, i64 99, i64 34, i64 105, i64 54, i64 52, i64 32, i64 48, i64 48, i64 92, i64 48, i64 48, i64 34, i64 10, i64 64, i64 112, i64 114, i64 101, i64 102, i64 105, i64 120, i64 32, i64 61, |
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
edc/bass | |
ravernkoh/theme-gnuykeaj | |
fisherman/rbenv |
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
bind main P !git push origin %(branch) |
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
function cdx | |
if count $argv > /dev/null | |
set proj $argv[1] | |
else | |
echo "Error: destination not provided." | |
return 1 | |
end | |
set dest (jq -r ".[\"$proj\"]" ~/.config/cdx/config.json) | |
if [ $dest != "null" ] |
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 <math.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
typedef int bool; | |
#define TRUE 1 | |
#define FALSE 0 | |
#define MAX_STACK_LEN 20 |
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
# Grammar | |
# | |
# program -> expression | |
# | |
# expression -> operation | |
# | |
# operation -> atom {binary_operator atom} | |
# | |
# atom -> literal | |
# atom -> LEFT_PAREN expression RIGHT_PAREN |
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
# Given an image represented by an NxN matrix, where each pixel in the image is | |
# 4 bytes, write a method to rotate the image by 90 degrees. Can you do this in | |
# place? | |
# Displays the given matrix. | |
def display(matrix): | |
N = len(matrix) | |
for column in range(0, N): | |
for row in range(0, N): |