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 likedPages = document.getElementsByClassName("PageLikedButton"); | |
var count = 0; | |
function unlikePages(){ | |
var liked = likedPages.item(count); | |
var mouseOverEvent = document.createEvent("MouseEvents"); | |
mouseOverEvent.initEvent("mouseover",true,false); | |
liked.dispatchEvent(mouseOverEvent); |
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
<html> | |
<head> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<style> | |
.form-row { | |
border: 1px solid #e2e2e2; | |
margin: 10px; | |
padding: 20px; | |
background: #f2f2f2; | |
} |
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
set nocompatible "We want the latest Vim settings/options | |
so ~/.vim/plugins.vim "Include plugins for vundle PluginInstall | |
syntax enable | |
set backspace=indent,eol,start "Make backspace behave like every other editor | |
let mapleader=',' "The defaulet leader is \, but comma is much better | |
set complete=.,w,b,u "Set our desired autocompletion" |
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
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' |
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
// Download Styler Extension for chrom | |
// When 1 is pressed the page starts automatically scrolling | |
// usage: 9gag, reading news | |
function pageScroll() { | |
window.scrollBy(0, 1); | |
scrolldelay = setTimeout(pageScroll,100); | |
} |
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
[{"short_code":"AD","latitude":"42.546245","longitude":"1.601554","name":"Andorra"},{"short_code":"AE","latitude":"23.424076","longitude":"53.847818","name":"United"},{"short_code":"AF","latitude":"33.93911","longitude":"67.709953","name":"Afghanistan"},{"short_code":"AG","latitude":"17.060816","longitude":"-61.796428","name":"Antigua"},{"short_code":"AI","latitude":"18.220554","longitude":"-63.068615","name":"Anguilla"},{"short_code":"AL","latitude":"41.153332","longitude":"20.168331","name":"Albania"},{"short_code":"AM","latitude":"40.069099","longitude":"45.038189","name":"Armenia"},{"short_code":"AN","latitude":"12.226079","longitude":"-69.060087","name":"Netherlands"},{"short_code":"AO","latitude":"-11.202692","longitude":"17.873887","name":"Angola"},{"short_code":"AQ","latitude":"-75.250973","longitude":"-0.071389","name":"Antarctica"},{"short_code":"AR","latitude":"-38.416097","longitude":"-63.616672","name":"Argentina"},{"short_code":"AS","latitude":"-14.270972","longitude":"-170.132217","name":"Ameri |
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
[{"short_code":"AD","latitude":"42.546245","longitude":"1.601554","name":"Andorra"},{"short_code":"AE","latitude":"23.424076","longitude":"53.847818","name":"United"},{"short_code":"AF","latitude":"33.93911","longitude":"67.709953","name":"Afghanistan"},{"short_code":"AG","latitude":"17.060816","longitude":"-61.796428","name":"Antigua"},{"short_code":"AI","latitude":"18.220554","longitude":"-63.068615","name":"Anguilla"},{"short_code":"AL","latitude":"41.153332","longitude":"20.168331","name":"Albania"},{"short_code":"AM","latitude":"40.069099","longitude":"45.038189","name":"Armenia"},{"short_code":"AN","latitude":"12.226079","longitude":"-69.060087","name":"Netherlands"},{"short_code":"AO","latitude":"-11.202692","longitude":"17.873887","name":"Angola"},{"short_code":"AQ","latitude":"-75.250973","longitude":"-0.071389","name":"Antarctica"},{"short_code":"AR","latitude":"-38.416097","longitude":"-63.616672","name":"Argentina"},{"short_code":"AS","latitude":"-14.270972","longitude":"-170.132217","name":"Ameri |
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 repeatTime(time, timeout) { | |
var k = document.querySelector('video') | |
setInterval(function() { | |
k.currentTime = time; | |
k.play(); | |
}, timeout); | |
} | |
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
const response = [{ | |
"id": 342, | |
"text": "@jetmir99 ckemi si je @rinordreshaj @flospa", | |
"project_id": 114, | |
"user_id": 912, | |
"parent_id": null, | |
"created_at": "2020-07-17 08:40:02", | |
"updated_at": "2020-07-17 08:40:02", | |
"deleted_at": null, | |
"thx_count": 0, |