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
--- | |
- hosts: all | |
remote_user: nhanlon | |
become: yes | |
become_user: root | |
tasks: | |
- name: Remove splash=quiet from /etc/grub.conf | |
become: yes | |
replace: | |
path: /etc/grub.conf |
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
session.signIn | |
{ | |
"email": "whoo?", | |
"password": "idk!", | |
"username": "whoo?" | |
} | |
{ | |
"message": "too fast authentication tries", | |
"stack": "Error: too fast authentication tries |
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
TITLE MouseClickRecognition | |
INCLUDE \masm32\include\masm32rt.inc | |
INCLUDE \masm32\include\winmm.inc | |
INCLUDELIB \masm32\lib\winmm.lib | |
INCLUDE Irvine32_NOWIN.inc | |
.stack 8192h | |
REGION STRUCT | |
start COORD <> |
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
def test_create_a | |
@provider.expects(:do_create) | |
.with('test.example.com', '10.1.1.1', 'A').returns(true) | |
assert @provider.do_create('test.example.com', '10.1.1.1', 'A') | |
end |
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
function addDate(e) { | |
var ss = SpreadsheetApp.getActiveSheet(); | |
var lr = ss.getLastRow(); | |
ss.getRange(lr, 1).setValue(new Date()); //Set date | |
var row_v = lr.toString()[0]; | |
//=IF(OR(B3,A3<=TODAY()),C2+IF(B3,0.1*(B3-C2),0),"") | |
movingavg_formula = "=IF(OR(B" + row_v + ",A" + row_v + "<=TODAY()),C" + (row_v - 1) + "+IF(B" + row_v + ",0.1*(B" + row_v + "-C" + (row_v - 1) + "),0),\"\")"; |
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
╭─<nhanlon@afterman>-<~/dev/puppet>-<b63861e∙master∙↯✭✚>-<9:54AM>-◇ | |
╰─➤ .git/hooks/pre-commit 1 ↵ | |
---> syntax:manifests | |
---> syntax:templates | |
---> syntax:hiera:yaml | |
╭─<nhanlon@afterman>-<~/dev/puppet>-<b63861e∙master∙↯✭✚>-<9:55AM>-◇ | |
╰─➤ echo $? | |
0 |
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
private void mixDownSteroMono() { | |
// This doesn't have to be fast or predictable in terms of latency as recording is not happening with this | |
FileInputStream monoStream = null; | |
FileInputStream stereoStream = null; | |
int monoByteSkip = 0; | |
int stereoByteSkip = 0; | |
byte[] mono; |
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
/* | |
* Copyright (C) 2014-2015 Denis Crowdy | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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
package edu.wit.mobileapp.pocketstudio.models; | |
import retrofit2.Call; | |
import retrofit2.Callback; | |
import retrofit2.Response; | |
import retrofit2.Retrofit; | |
/** | |
* Created by Neil on 4/8/2017. | |
*/ |
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
$ git log --author="Neil Hanlon" --oneline --shortstat | |
a8b1f48 Make sure the profile block in the drawer is updated on login, signup, and when the user changes it. | |
4 files changed, 22 insertions(+), 5 deletions(-) | |
55b4efb Add logout button | |
3 files changed, 53 insertions(+) | |
0d607af Spend way too long making back button work because i'm a maniac | |
3 files changed, 35 insertions(+), 6 deletions(-) | |
55d3d7d Make changepassword work | |
6 files changed, 231 insertions(+), 6 deletions(-) | |
6d73da0 Made drawer profilebox use the user's name. |