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
events {} | |
daemon off; | |
http { | |
server { | |
listen 80; | |
server_name sapo.ua.pt; | |
location / { | |
proxy_pass https://sapo.pages.dev; |
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
void wifiInitialize() { | |
#if DEBUG_WIFI == 1 | |
SERIAL_PRINTLN(F("Initializing Wifi")); | |
#endif | |
pinMode(WIFI_RESET_PIN, OUTPUT); | |
digitalWrite(WIFI_RESET_PIN,HIGH); | |
wifiReset(); | |
Serial1.begin(9600); // used with the wifi | |
SimpleWifi.setUart(&Serial1); // Tell the wifi library that we are not using the SPIUart | |
SimpleWifi.begin(); |
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
diskutil list external physical | |
diskutil partitionDisk disk3 MBR "MS-DOS FAT32" "BOOT" 256MB "Free Space" "Disk" R | |
sudo fdisk -e /dev/disk3 | |
# prints table | |
# edit empty partition and change its id | |
edit 2 | |
# Partition id: 76 |
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
const url = require("url"); | |
const path = require("path"); | |
const fs = require("fs"); | |
const { readdir } = require("fs").promises; | |
const https = require("https"); | |
const baseUrl = "https://api.wall-box.com/"; | |
const httpOptions = { | |
hostname: "api.wall-box.com", |
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
syntax on | |
set ruler " Show the line and column numbers of the cursor. | |
set formatoptions+=o " Continue comment marker in new lines. | |
set textwidth=0 " Hard-wrap long lines as you type them. | |
set modeline " Enable modeline. | |
set esckeys " Cursor keys in insert mode. | |
set linespace=0 " Set line-spacing to minimum. | |
set nojoinspaces " Prevents inserting two spaces after punctuation on a join (J) | |
" More natural splits | |
set splitbelow " Horizontal split below current. |
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
arm:~# sync ; dd if=/dev/mmcblk0 bs=1M | ssh [email protected] 'dd of=~/Desktop/myBBB.img bs=1m' |
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
A useful recipe for Raspberry Pi hackers | |
CFLAGS="$CFLAGS --param ggc-min-expand=0 --param ggc-min-heapsize=8192" | |
Change 8192 to, say, 131072 to use more memory. Ie: | |
Also, remove “-pipe” from your CFLAGs. Slows down compile but uses less memory. | |
Also, check the -O option. Sometimes -O2 or -O3 required lots of memory. |
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
[511][0][celso.macpro: ZX81]$ ls -las | |
total 6992 | |
0 drwxr-xr-x 6 celso staff 204 Jul 13 23:57 . | |
0 drwx------+ 84 celso staff 2856 Jul 13 23:56 .. | |
16 -rwxr-xr-x 1 celso staff 13493 Apr 6 2005 Frogger.p | |
4 -rwxr-xr-x 1 celso staff 84 Apr 6 2005 Frogger.txt | |
6776 -rw-r--r-- 1 celso staff 6937174 Jul 13 23:57 Frogger.wav | |
196 -rw-r--r-- 1 celso staff 200283 Mar 14 17:40 tapeutils.jar | |
[512][0][celso.macpro: ZX81]$ java -classpath tapeutils.jar tapeutils.zx81.PFileUtils -p Frogger.p -play -f Frogger.wav -z FROGGERLength = 13493 filebytes = 13493 | |
[513][0][celso.macpro: ZX81]$ ls -las Frogger.wav |
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
ADS AND ANDROID APP ARE BABY BLOG BOO BOOK BUY | |
CAL CAR CHANNEL CHROME CLOUD CORP CPA DAD DAY DCLK | |
DDS DEV DIY DOCS DOG DOT DRIVE EARTH EAT ESQ EST | |
FAMILY FILM FLY FOO FREE FUN FYI GAME GBIZ GLE GMAIL | |
GMBH GOO GOOG GOOGLE GUGE HANGOUT HERE HOME HOW | |
INC ING KID LIVE LLC LLP LOL LOVE MAIL MAP MBA | |
MED MEME MOM MOTO MOV MOVIE MUSIC NEW NEXUS PAGE PET | |
PHD PLAY PLUS PROD PROF RSVP SEARCH SHOP SHOW SITE | |
SOY SPOT SRL STORE TALK TEAM TECH TOUR TUBE VIP | |
WEB WOW YOU YOUTUBE ZIP みんな グーグル 谷歌 |
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
diff -c -r vice-2.2.orig/src/arch/sdl/mousedrv.c vice-2.2/src/arch/sdl/mousedrv.c | |
*** vice-2.2.orig/src/arch/sdl/mousedrv.c Mon Sep 21 18:36:09 2009 | |
--- vice-2.2/src/arch/sdl/mousedrv.c Mon Nov 28 02:10:10 2011 | |
*************** | |
*** 31,41 **** | |
--- 31,45 ---- | |
#include <SDL/SDL.h> | |
+ #include "cmdline.h" |