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
/* From www.w3schools.com/css/css_float.asp */ | |
.clearfix::after { | |
content: ""; | |
clear: both; | |
display: table; | |
} |
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
TITLE "M2X1"; | |
SUBDESIGN mux | |
( | |
a, b, sel: INPUT; | |
result: OUTPUT; | |
) | |
BEGIN | |
IF sel == 0 THEN | |
result = a; |
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
TITLE "D24"; | |
SUBDESIGN decoder_2_to_4 | |
( | |
inpcode[1..0]: INPUT; | |
outcode[3..0]: OUTPUT; | |
) | |
BEGIN | |
CASE inpcode[] IS |
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
TITLE "RISING EDGE IDENTIFIER"; | |
SUBDESIGN edge_identifier ( | |
x, clock: INPUT; | |
rising_edge: OUTPUT; | |
) | |
VARIABLE | |
ss: MACHINE WITH STATES (s0, s1); |
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 | |
echo; | |
for APT in `find /etc/apt/ -name \*.list`; do | |
grep -o "^deb http://ppa.launchpad.net/[a-z0-9\-]\+/[a-z0-9\-]\+" $APT | while read ENTRY ; do | |
USER=`echo $ENTRY | cut -d/ -f4` | |
PPA=`echo $ENTRY | cut -d/ -f5` | |
#echo sudo apt-add-repository ppa:$USER/$PPA #use this if you want to make the output ready to share | |
echo ppa:$USER/$PPA | |
done |
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
# Complete pin assignments for DE115 | |
# By JRMJ <[email protected]> | |
# -------------------------------------------------------------------------- # | |
# Slide switchs | |
# -------------------------------------------------------------------------- # | |
set_location_assignment PIN_AB28 -to SW[0] | |
set_location_assignment PIN_AC28 -to SW[1] | |
set_location_assignment PIN_AC27 -to SW[2] |
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
/* | |
* Code by José Romildo M. Júnior <[email protected]> | |
*/ | |
package snippets; | |
class Example implements Cloneable { | |
private double d; | |
private String name; |
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
# Criar Projeto | |
django-admin startproject <nome_do_projeto> | |
# Adicionar App ao projeto |
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
remote: Building source: | |
remote: | |
remote: -----> Python app detected | |
remote: -----> Installing python-3.6.7 | |
remote: -----> Installing pip | |
remote: -----> Installing SQLite3 | |
remote: -----> Installing requirements with pip | |
remote: Collecting Django==2.1 (from -r /tmp/build_519405a6e8ad50f50bd18e6856196acb/requirements.txt (line 1)) | |
remote: Downloading https://files.pythonhosted.org/packages/51/1a/e0ac7886c7123a03814178d7517dc822af0fe51a72e1a6bff26153103322/Django-2.1-py3-none-any.whl (7.3MB) | |
remote: Collecting pkg-resources==0.0.0 (from -r /tmp/build_519405a6e8ad50f50bd18e6856196acb/requirements.txt (line 2)) |
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Exemplo de uso de SVG</title> | |
</head> | |
<style> | |
body{ |
OlderNewer