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
| var casper = require("casper").create(), | |
| urls = [ | |
| 'https://www.facebook.com/ModernApartmentCommunity/', | |
| 'https://www.facebook.com/ModernApartmentCommunity/reviews/' | |
| 'http://modernmsg.com', | |
| 'http://modernmsg.com/rewards' | |
| ], | |
| saveDir = 'shots' | |
| casper.start(); |
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
| // 14 chips | |
| // 9 squares on board | |
| // 5 on the stop sign | |
| var lostcount = 0; | |
| var wincount = 0; | |
| var board = [0,1,2,3,4,5,6,7,8]; | |
| var iterations = 1000000; |
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
| <style> | |
| #wrap { | |
| position: fixed; | |
| top: 0; | |
| right:0; | |
| bottom:0; | |
| left: 0; | |
| overflow-y: scroll; | |
| -webkit-overflow-scrolling: touch; | |
| } |
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
| # uses the 200wordsaday.com API to export your posts as text files | |
| # to install httparty: | |
| # gem install httparty | |
| require 'httparty' | |
| require 'json' | |
| require 'date' | |
| url = 'https://200wordsaday.com/api/texts?api_key=<your api key>' | |
| response = HTTParty.get(url) | |
| entries = response.parsed_response |
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
| body, button, html, input, select, textarea { | |
| font-family: sans-serif; | |
| font-size: 0.9rem; | |
| } | |
| .board-header-btn.board-header-btn-enabled.js-star-board { | |
| background-color: transparent; | |
| } | |
| .board-header-btn.board-header-btn-enabled.js-star-board span:before { |
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
| .zhc-label { | |
| border-radius: 8px; | |
| font-weight: normal; | |
| padding: 2px 5px 2px; | |
| } | |
| .zhc-issue-card__issue-title { | |
| font-weight: normal; | |
| } |
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
| public class BlockDropper extends Block | |
| { | |
| public BlockDropper() | |
| { | |
| super(Material.ROCK); | |
| this.setCreativeTab(CreativeTabs.BUILDING_BLOCKS); // the block will appear on the Blocks tab in creative | |
| this.setHardness(0.5f); | |
| } | |
| @SideOnly(Side.CLIENT) |
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
| * { | |
| font-family: Ubuntu !important; | |
| } | |
| ::-webkit-scrollbar { | |
| width: 0px; | |
| height: 0px; | |
| background: transparent; | |
| } |
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
| /* hide stories */ | |
| #ssrb_stories_start + div { | |
| display: none; | |
| } |
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
| javascript:(function(){var metadata = document.querySelector("#notion-app > div > div.notion-cursor-listener > div.notion-frame > div.notion-scroller.vertical.horizontal > div:nth-child(2)"); if (metadata.style.display == "") {metadata.style.display = "none";} else {metadata.style.display = "";} })(); |