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
::-webkit-scrollbar { | |
width: 8px; | |
background: inset 0 0 6px rgba(175,193,241,0.9); | |
} | |
::-webkit-scrollbar-track { | |
-webkit-box-shadow: inset 0 0 6px rgba(175,193,241,0.9); | |
border-radius: 0px; | |
} | |
::-webkit-scrollbar-thumb { | |
border-radius: 5px; |
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
import aiohttp | |
import asyncio | |
import os | |
import re | |
from pathlib import Path | |
ROOT_URL = 'https://www.instagram.com/' | |
PROXY = 'http://127.0.0.1:1080' | |
HEADERS = { | |
'User-Agent': |
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
<input type="file" ref="file" multiple="multiple"> | |
submitFiles() { | |
let formData = new FormData(); | |
for( var i = 0; i < this.$refs.file.files.length; i++ ){ | |
let file = this.$refs.file.files[i]; | |
console.log(file); | |
formData.append('files[' + i + ']', file); |
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
var vm = new Vue ({ | |
el: '#app', | |
data: { | |
result: '' | |
}, | |
created: function(){ | |
this.getResult(); | |
}, |
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
Vue.component('backtotop', { | |
template: '#backtotop', | |
data: function() { | |
return { | |
isVisible: false | |
}; | |
}, | |
methods: { | |
initToTopButton: function() { | |
$(document).bind('scroll', 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 class="relation"> | |
<div class="relation__offset relation__offset-16-9"></div> | |
<div class="relation__content"> | |
<iframe class="video__content" src="https://www.youtube.com/embed/KFVoIzaGPYg" ></iframe> | |
</div> | |
</div> | |
.relation{ | |
max-width: 560px; | |
position: relative; |
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
/*** Usage | |
+clear | |
=clear | |
&::after | |
content: '' | |
display: table | |
clear: both | |
/*** Usage | |
+antialias |
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
<?php | |
header('Access-Control-Allow-Origin: *'); | |
echo $_SERVER('REMOTE_ADDR'); | |
?> | |
console run php -S 127.0.0.1:8080 |
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
$bg-color: #ff8888; //start color | |
$stops: 100; //smoothness | |
$time: 20s; //duration of animation | |
$hue-range: 20; //of 360deg | |
body{ | |
background-color: $bg-color; | |
-webkit-animation: colorChange $time linear 0s infinite; | |
animation: colorChange $time linear 0s infinite ; | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<style> | |
.slider { | |
position:relative; |