Skip to content

Instantly share code, notes, and snippets.

@randerzander
randerzander / front.html
Last active October 24, 2022 12:47
zeppelin angular-tricks
%angular
<input id="textbox" class="hide" ng-model="someAngularVar"></input>
<button id="btn" type="submit" onclick="update()">UpperCase It!</button>
<script type="text/javascript">
function update(){
var element = $('#textbox');
var currentVal = element.val();
//Update the value
element.val(currentVal.toUpperCase());
@Turbo87
Turbo87 / app.js
Created February 15, 2015 04:05
webpack + font-awesome test
require('font-awesome/css/font-awesome.css');
document.body.innerHTML = '<i class="fa fa-fw fa-question"></i>';
package github.gist.testfx
import javafx.scene.Parent
import org.loadui.testfx.GuiTest
import spock.lang.Specification
abstract class GuiSpecification extends Specification {
GuiTest fx
@radu-c
radu-c / AppengineHttpRequestor.java
Last active January 12, 2016 23:05
Google Appengine friendly Dropbox SDK HttpRequestor. Replaced all HttpsURLConnection in com.dropbox.core.http.StandardHttpRequestor with HttpURLConnection.
package com.code11.dropbox.appengine;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.Proxy;
import java.net.URL;
import com.dropbox.core.http.HttpRequestor;