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
https://backchannel.com/airbnbs-sheryl-sandberg-is-the-valley-s-quiet-superpower-ed02fc5fc4ea#.w5nsp9mwq | |
https://medium.com/@glennbeck/disagree-or-be-fired-a0ae2deca9b6#.18n7fhrde |
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
/* | |
* OpenSimplex Noise in Java. | |
* by Kurt Spencer | |
* | |
* v1.1 (October 5, 2014) | |
* - Added 2D and 4D implementations. | |
* - Proper gradient sets for all dimensions, from a | |
* dimensionally-generalizable scheme with an actual | |
* rhyme and reason behind it. | |
* - Removed default permutation array in favor of |
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
function go() { | |
var userId = prompt('Username?', 'Guest'); | |
checkIfUserExists(userId); | |
} | |
var USERS_LOCATION = 'https://SampleChat.firebaseIO-demo.com/users'; | |
function userExistsCallback(userId, exists) { | |
if (exists) { | |
alert('user ' + userId + ' exists!'); |
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
setBadge = function (text) { | |
if (process.platform === "darwin") { | |
app.dock.setBadge("" + text); | |
} else if (process.platform === "win32") { | |
var win = remote.getCurrentWindow(); | |
if (text === "") { | |
win.setOverlayIcon(null, ""); | |
return; | |
} |
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
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script> | |
<style> | |
table{ | |
width:500px; | |
height:500px; | |
} | |
table td{ | |
padding:10px; | |
margin:10px; | |
border:1px solid #ccc; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
Changing email providers does not solve the problem. Email is ***NOT usually*** encrypted at the protocol level. It is very likely better to just stick with Gmail sadly enough. | |
The only real resolution is to: | |
1. Never send sensitive information over traditional email without TNO PIE ([GnuPG](https://en.wikipedia.org/wiki/GNU_Privacy_Guard) or GPG). | |
This is extremely dangerous because: | |
1. Most services do not offer secure SMTP | |
1. Secure SMTP is vulnerable to downgrade attacks. | |
1. Use a secure, anonymous and decentralized alternative such as I2P-Bote or Bitmessage. |
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
LibJitsi.start(); | |
MediaService mediaService = LibJitsi.getMediaService(); | |
//I assume that I have a working video and audio MediaDevice | |
MediaDevice randomVideoDevice = createVideoDevice(); | |
MediaDevice randomAudioDevice = createAudioDevice(); | |
//I create the MediaFormat for each stream | |
MediaFormat videoFormat |
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
/*========== | |
Main Class | |
==========*/ | |
URL locations = Main.class.getResource("your.fxml"); | |
FXMLLoader loader = new FXMLLoader(); | |
loader.setLocation(locations); | |
loader.setBuilderFactory(new JavaFXBuilderFactory()); | |
Parent root = loader.load(locations.openStream()); | |
Scene scene = new Scene(root, 650, 340); | |
primaryStage.setScene(scene); |
NewerOlder