I hereby claim:
- I am unixb0y on github.
- I am unixb0y (https://keybase.io/unixb0y) on keybase.
- I have a public key whose fingerprint is A5B3 D67E 57E1 C1DB CB80 DBA0 6481 86D0 D05B 04D6
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// | |
// RBResizer.swift | |
// Locker | |
// | |
// Created by Hampton Catlin on 6/20/14. | |
// Copyright (c) 2014 rarebit. All rights reserved. | |
// | |
import UIKit |
I hereby claim:
To claim this, I am signing this object:
module alu(input logic [31:0] A, B, input logic [2:0] OPC, output logic [31:0] Y); | |
logic [31:0] temp; | |
Shifter shift(.A(A), .B(B), .Y(temp)); | |
always_comb | |
case(OPC) | |
0: Y = temp; | |
default: Y = 32'd0; | |
endcase | |
endmodule |
## | |
# Put this AFTER your current | |
# /etc/hosts file contents! | |
# After that, either reboot or | |
# manually flush your DNS cache | |
## | |
127.0.0.1 google.com #} redirects to us2.startpage.com:443 | |
127.0.0.1 www.google.com #} 216.218.239.164 is the IP address for the | |
127.0.0.1 google.ca #} Google frontend Startpage and automatically |
from digitalio import DigitalInOut | |
import board | |
import busio | |
from adafruit_bus_device.spi_device import SPIDevice | |
WRITE_SINGLE_BYTE = 0x00 | |
WRITE_BURST = 0x40 | |
READ_SINGLE_BYTE = 0x80 | |
READ_BURST = 0xC0 |
import UIKit | |
extension UIImage { | |
func fixOrientation() -> UIImage { | |
guard let cg = cgImage, let cg_colorspace = cg.colorSpace else { | |
print("Error while fixing image orientation") | |
return self | |
} | |
// | |
// TextViewAlertController.swift | |
// TextViewAlertController | |
// | |
// Created by Davide Toldo on 01.11.19. | |
// Copyright © 2019 Davide Toldo. All rights reserved. | |
// | |
import UIKit | |
class TextViewAlertController: UIAlertController { |
if [ $# -eq 0 ] | |
then echo 'No project name supplied'; exit 0 | |
fi | |
# 1) Add necessary Code to SceneDelegate | |
a='guard let _ = (scene as? UIWindowScene) else { return }' | |
b='guard let windowScene = (scene as? UIWindowScene) else { return }\ | |
window = UIWindow()\ |