Para executar o programa recursao.c
:
$ make recursao
$ gdb ./recursao
Assim que executar o gdb
, ele abrirá um terminal especial onde você pode inspecionar
#include <iostream> | |
class Bitmask { | |
public: | |
Bitmask(uint32_t _=0u) : n(_) {} | |
inline uint32_t get(int i) const { return (n >> i) & 1; } | |
inline void set (int i) { n |= (1 << i); } | |
inline void reset(int i) { n &= ~(1 << i); } |
Shader "matheusfaria/EdgeDetectionSobel" | |
{ | |
Properties | |
{ | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Threshold ("Threshold", Range(0, 1)) = 1 | |
} | |
Category | |
{ |
Shader "matheusfaria/NaiveBlur" | |
{ | |
Properties | |
{ | |
_MainTex ("Base (RGB)", 2D) = "white" {} | |
_Radius ("Blur Radius", Int) = 3 | |
} | |
Category | |
{ |
/** | |
* The ASCII arts were extracted from: | |
* - http://www.fiikus.net/?pokedex | |
* - http://www.world-of-nintendo.com/pictures/text/ | |
* And also generated with: | |
* - http://www.text-image.com | |
*/ | |
#ifndef __POKE_IMG__ | |
#define __POKE_IMG__ |
from datetime import timedelta | |
from datetime import date | |
one_day = timedelta(days=1) | |
today = date.today() | |
start_day = date(today.year, 3, 6) | |
end_day = date(today.year, 7, 17) | |
# Moday is 0 - Sunday is 6 |
import os | |
class TempFile(object): | |
"""Creates an editable temp file that will be removed on close""" | |
def __init__(self, *args, **kwds): | |
self.args = args | |
self.kwds = kwds | |
def __enter__(self): |
#!/bin/bash | |
# You must run with bash | |
#function nyan | |
#{ | |
e='\033' | |
RESET="$e[0m" | |
BOLD="$e[1m" | |
CYAN="$e[0;96m" |