Skip to content

Instantly share code, notes, and snippets.

View kelixlabs's full-sized avatar

Wahyu Kecambah Linux kelixlabs

View GitHub Profile
@IhwanID
IhwanID / main.swift
Created October 8, 2020 20:03
Tokopedia Playground
import UIKit
import PlaygroundSupport
//let view2 = UIView()
//view2.alpha = 0.5
let parrentView = UIView(frame: CGRect(x: 0, y: 0, width: 80, height: 80))
parrentView.backgroundColor = .red
@kelixlabs
kelixlabs / relay-test.py
Created November 2, 2018 11:34 — forked from johnwargo/relay-test.py
Simple Python app for controlling a relay through an GPIO Zero Output device
#!/usr/bin/python
# A simple Python application for controlling a relay board from a Raspberry Pi
# The application uses the GPIO Zero library (https://gpiozero.readthedocs.io/en/stable/)
# The relay is connected to one of the Pi's GPIO ports, then is defined as an Output device
# in GPIO Zero: https://gpiozero.readthedocs.io/en/stable/api_output.html#outputdevice
import sys
import time
/**
* author Remy Sharp
* url http://remysharp.com/tag/marquee
*/
(function ($) {
$.fn.marquee = function (klass) {
var newMarquee = [],
last = this.length;
/**
* author Remy Sharp
* url http://remysharp.com/tag/marquee
*/
require(['jquery'], function ($) {
$.fn.marquee = function (klass) {
var newMarquee = [],
last = this.length;