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
from django.contrib import admin | |
from .models import Post | |
admin.site.register(Post) |
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
scrapy startproject tutorial | |
scrapy crawl news_spider |
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
#!/bin/bash | |
cd wget https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.gz | |
tar xzvf nasm-2.13.03.tar.gz | |
cd nasm-2.13.03 | |
./configure | |
make | |
make install | |
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 | |
# Inspired from https://gist.github.com/faleev/3435377 |
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
#EXTM3U | |
#EXT-X-STREAM-INF:BANDWIDTH=390000,CODECS="avc1.4d0015,mp4a.40.2",RESOLUTION=426x240 | |
http://www.youtube.com/api/manifest/hls_playlist/id/5025ba90a349f1cc/itag/92/source/yt_live_broadcast/ratebypass/yes/cmbypass/yes/playlist_type/LIVE/maudio/1/pmbypass/yes/upn/Rwg0UFeZvSM/sver/3/ip/85.30.32.34/ipbits/8/expire/1346084679/sparams/ip,ipbits,expire,id,itag,source,ratebypass,cmbypass,playlist_type,maudio,pmbypass/signature/3119B02572030AFBACA74E48C615B33E1EC9B0F7.40D6BBE13D23D9A6EDDD0156F788D6A02F1B54E8/key/ck1/file/index.m3u8 | |
#EXT-X-STREAM-INF:BANDWIDTH=1337000,CODECS="avc1.4d001e,mp4a.40.2",RESOLUTION=640x360 | |
http://www.youtube.com/api/manifest/hls_playlist/id/5025ba90a349f1cc/itag/93/source/yt_live_broadcast/ratebypass/yes/cmbypass/yes/playlist_type/LIVE/maudio/1/pmbypass/yes/upn/Rwg0UFeZvSM/sver/3/ip/85.30.32.34/ipbits/8/expire/1346084679/sparams/ip,ipbits,expire,id,itag,source,ratebypass,cmbypass,playlist_type,maudio,pmbypass/signature/0C01ACC5F2B8525D9EC14CC0A220D78604A42BFB.351021DBDB4CEEF0DDA9148769 |
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
$serializer = $this->getContainter('serializer'); | |
$data = $serializer->decode(file_get_contents('./data/tum_kazanimlar.csv'), 'csv', ['csv_delimiter' => ';']); | |
for($i = 0; $i < 2 ; $i++) { | |
dump($data[$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
namespace: burakhan | |
db: | |
defines: runnable | |
variables: | |
image-tag: | |
type: string | |
value: latest | |
rpc-port: | |
type: int |
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
namespace: burakhan | |
database: | |
defines: runnable | |
inherits: postgres/12 | |
variables: | |
db-user: | |
value: mattermost | |
db-password: | |
value: mmuser_password |
OlderNewer