Skip to content

Instantly share code, notes, and snippets.

View cairin's full-sized avatar
🤘
Hello there

Cairin Michie cairin

🤘
Hello there
View GitHub Profile
@AlphaTechnolog
AlphaTechnolog / monokai-pro-alacritty.yaml
Created September 2, 2021 19:17
alacritty monokai pro theme
colors:
# Default colors
primary:
background: '0x2D2A2E'
foreground: '0xfff1f3'
# Normal colors
normal:
black: '0x2c2525'
red: '0xfd6883'
@giannivh
giannivh / install-arch-on-dell-xps-7390-2-in-1-laptop.txt
Created January 13, 2020 13:15
Installing Arch Linux on a Dell XPS 7390 2-in-1 laptop
# ____________________________________________________________________________
# | |
# | .:: BOOT & PREPARE ::. |
# |____________________________________________________________________________|
# increase font size due to 4k display
setfont latarcyrheb-sun32
@branflake2267
branflake2267 / stful-page.liveTemplate
Last active March 24, 2019 13:31
Flutter - Basic Routing to Pages YouTube source code - This is the IntelliJ IDEA live template for a stateful widget for a page.
class $NAME$ extends StatefulWidget {
$NAME$({Key key, this.title}) : super(key: key);
static const String routeName = "/$NAME$";
final String title;
@override
_$NAME$State createState() => new _$NAME$State();
}
@dpapathanasiou
dpapathanasiou / RaspberryPi_A_Plus_Wifi.md
Created January 10, 2015 19:49
How to setup a usb wifi dongle on the Raspberry Pi Model A+

Rationale

The Raspberry Pi Model A+ has just a single usb port, so getting the wifi configured has to done by editing /etc/network/interfaces from a command line prompt.

These instructions assume the Raspbian OS on the SD card, and a usb wifi adapter that supports the RTL8192cu chipset, since the current Raspbian has built-in support for it.

Before the first boot

  1. Put a keyboard in the usb slot
  2. Connect the HDMI slot to a monitor
@hakre
hakre / imap-attachment.php
Created April 11, 2012 22:50
Save attachments from imap messages to disk.
<?php
/**
* imap-attachment.php
*
* @author hakre <hakre.wordpress.com>
* @link http://stackoverflow.com/questions/9974334/how-to-download-mails-attachment-to-a-specific-folder-using-imap-and-php
*/
/**
* Utility Class
@NTICompass
NTICompass / QRLogo.php
Created October 13, 2011 03:10
QR Code + Logo Generator
<?php
/**
* QR Code + Logo Generator
*
* http://labs.nticompassinc.com
*/
$data = isset($_GET['data']) ? $_GET['data'] : 'http://labs.nticompassinc.com';
$size = isset($_GET['size']) ? $_GET['size'] : '200x200';
$logo = isset($_GET['logo']) ? $_GET['logo'] : FALSE;