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
| vec3 square(vec2 st,vec2 bli,vec2 tri,vec3 color) { | |
| // bottom-left | |
| vec2 bl = step(bli,st); | |
| // top-right | |
| vec2 tr = step(1.0-tri,1.0-st); | |
| float pct = bl.x * bl.y * tr.x * tr.y; | |
| vec3 c = vec3(pct * color); |
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
| bind_to_address "any" | |
| music_directory "~/Music/Library" | |
| playlist_directory "~/.mpd/playlists" | |
| db_file "~/.mpd/database" | |
| log_file "~/.mpd/log" | |
| pid_file "~/.mpd/pid" | |
| state_file "~/.mpd/state" | |
| sticker_file "~/.mpd/sticker.sql" |
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
| $ whois 64squares.club | |
| % IANA WHOIS server | |
| % for more information on IANA, visit http://www.iana.org | |
| % This query returned 1 object | |
| refer: whois.nic.club | |
| domain: CLUB | |
| organisation: .CLUB DOMAINS, LLC |
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
| Process: VimR [92263] | |
| Path: /Applications/VimR.app/Contents/MacOS/VimR | |
| Identifier: com.qvacua.VimR | |
| Version: SNAPSHOT-294 (294) | |
| Code Type: X86-64 (Native) | |
| Parent Process: ??? [1] | |
| Responsible: VimR [92263] | |
| User ID: 501 | |
| Date/Time: 2018-11-29 15:53:44.215 -0500 |
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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Control Panel\Mouse] | |
| "SmoothMouseXCurve"=hex:00,00,00,00,00,00,00,00,00,a0,00,00,00,00,00,00,00,40,\ | |
| 01,00,00,00,00,00,00,80,02,00,00,00,00,00,00,00,05,00,00,00,00,00 | |
| "SmoothMouseYCurve"=hex:00,00,00,00,00,00,00,00,66,a6,02,00,00,00,00,00,cd,4c,\ | |
| 05,00,00,00,00,00,a0,99,0a,00,00,00,00,00,38,33,15,00,00,00,00,00 |
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
| require 'jekyll' | |
| task default: %w[build] | |
| desc "Build the site" | |
| task :build do | |
| config = Jekyll.configuration({ | |
| url: ENV["SITE_URL"], | |
| }) | |
| site = Jekyll::Site.new(config) |
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
| # Add your own tasks in files placed in lib/tasks ending in .rake, | |
| # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
| require_relative 'config/application' | |
| Rails.application.load_tasks | |
| task(:default).clear | |
| # Run webpack:build before :spec | |
| task default: ["webpack:build", :spec] |
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
| // This #include statement was automatically added by the Particle IDE. | |
| #include "HttpClient/HttpClient.h" | |
| int button_blue = D0; | |
| int button_red = D1; | |
| int button_reset = D2; | |
| int led = D7; | |
| bool latch_blue = false; |
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
| <?xml version="1.0"?> | |
| <root> | |
| <deviceproductdef> | |
| <productname>FKBN88M_UKB2</productname> | |
| <productid>0x2221</productid> | |
| </deviceproductdef> | |
| <item> | |
| <name>Swap Backquote(`) and Section(§) on Filco Tenkeyless UK</name> | |
| <identifier>private.deviceproductdef</identifier> |
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
| wifi.setmode(wifi.STATION) | |
| wifi.sta.config("SSID","password") | |
| -- Send POST when buttons A or B pressed | |
| PIN_BUTTON_A = 3 -- GPIO0 | |
| PIN_BUTTON_B = 4 -- GPIO1 | |
| TIME_ALARM = 25 -- 0.025 second, 40 Hz | |
| gpio.mode(PIN_BUTTON_A, gpio.INPUT, gpio.PULLUP) |
NewerOlder