@NeillBlomkamp: I should check that out- what I am attempting to do is communicate/ interact with and make films for the audience with no middle man #
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
document.querySelector('body > div[role="presentation"]').remove(); | |
document.querySelector('body').removeAttribute('style'); |
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
const validFormats = ['jpg', 'jpeg', 'png']; | |
const images = [...document.getElementsByTagName('img')] | |
.map(img => img.getAttribute('src')) | |
.filter(img => validFormats.some(format => img.includes(format))); | |
let i = 0; | |
setInterval(() => { | |
if (images.length > i) { | |
const link = document.createElement('a'); | |
link.id = i; |
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
// Make sure you load the url that you are looking to get the emails from | |
// right from the beginning, so if you are looking to search something, do | |
// the search and then refresh to load just the data of the right url | |
// Example: https://mail.google.com/mail/u/0/#search/job+position | |
console.log([...document.querySelectorAll('span')] | |
.filter((el, idx) => el.getAttribute('email') && idx % 2 === 1) | |
.map(el => el.getAttribute('email'))); |
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
const videos = [ | |
...document.querySelectorAll( | |
'.yt-simple-endpoint.ytd-playlist-video-renderer' | |
) | |
].map( | |
v => | |
v | |
.getAttribute('href') | |
.split('=')[1] | |
.split('&')[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
# Prompts for beginning new projects | |
start: | |
- "#5ps#" | |
- "#heart#" | |
- "#disirability_feasibility_viability#" | |
- "#practical_step#" | |
- "#build#" | |
- "#story#" | |
- "#ooda#" |
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
// It is important to declare your variables. | |
(function() { | |
var foo = 'Hello, world!'; | |
print(foo); //=> Hello, world! | |
})(); | |
// Because if you don't, the become global variables. | |
(function() { |
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
<div id="revive-responsive-top" style="display: block; text-align: center;"> | |
<script type="text/javascript"> | |
adUnit = document.getElementById("revive-responsive-top"); | |
adWidth = adUnit.offsetWidth; | |
if ( adWidth >= 728 ) { | |
/* Leaderboard 728x90 */ | |
adUnit.innerHTML = '<ins data-revive-zoneid="3" data-revive-id="4689b54ec658f530f3250f4124e7f1ea"></ins>'; | |
} else { |
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
<div class="col-xs-12 col-sm-6 col-md-12"> | |
<div id="fb-container"> | |
<div class="fb-page" data-tabs="timeline" data-href="https://www.facebook.com/cloverepublic/" data-height="250" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="false"><blockquote cite="https://www.facebook.com/cloverepublic/" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/cloverepublic/">Clove Republic</a></blockquote></div> | |
</div> | |
</div> | |
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
$(window).bind("load resize", function(){ |