Skip to content

Instantly share code, notes, and snippets.

View inarli's full-sized avatar
🏠
Working from home

İlkay Narlı inarli

🏠
Working from home
View GitHub Profile
@inarli
inarli / composer-private-package-github-token.md
Created September 24, 2020 08:06 — forked from jeffersonmartin/composer-private-package-github-token.md
Generate a GitHub Personal Access Token for Private Composer Packages

Generate a GitHub Personal Access Token for Private Composer Packages

If you're trying to load a private repository with Composer/Laravel, we'll need to generate a GitHub Personal Access Token (similar to OAuth token) to access the repository during a composer install without entering credentials.

If you have used other Github packages from {my-org} before, you may be able to skip this step.

  1. Visit https://github.com/settings/tokens.

  2. Click Generate new token.

@inarli
inarli / p_ids.txt
Last active January 11, 2019 12:30
100797,85112,1225697,1226040,1229429,81961,80852,1230164,102034,86265,100942,1224539,1224714,1225617,101107,1228169,1226894,1227204,86187,101708,101558,1230275,1227880,100957,1228756,1225233,1223854,1228371,101755,1224233,1228780,1224246,1229178,1229246,1224109,1228621,1223985,101876,1228442,1228386,1227307,1229277,102489,1224034,1225501,1227028,101360,84687,1228026,1227500,1223853,81589,1227647,1228935,1229905,1230589
100846,1228103,101616,1229507,1225342,80000,1230287,101919,1227260,1229936,1224631,1230653,1228231,1226941,1225729,101773,1224335,101431,1223931,85930,1228683,82123,1227589,102503,100999,1228834,1225763,1227407,1227545,1224112,1224029,1227783,99803,1229303,1223767,1228994,102111,1229137,1227923,1223694,1227078,81369,1226693,1225398,1229702,1230050,1225568,1225890,1228490,101172,81747,86264,1230235,1226725
100878,1225386,101468,102134,1228123,1227941,1228280,101198,1230890,1225812,1227442,1229345,1224374,1224051,1228709,1226935,86073,1226103,101640,1224141,1230034,1225917,1226712,1226968,101019,
@inarli
inarli / scheduledPublish.php
Last active January 9, 2019 11:27
scheduledPublish
<?php
public function scheduledPublish()
{
$headers = new AMQPTable();
$delay = 60000; // 1 minute
$headers->set('x-delay', $delay, AMQPTable::T_INT_LONG);
$exchangeName = 'delayed';
$routingKey = 'delayed-messages';
$properties = [
1440000,264500,792500,1309000,1062500,814500,643500,1450000,316000,1541500,1088500,1746500,1325000,480500,342000,1286000,1678500,1026500,1273500,1015500,1538500,384500,1363000,426500,234500,1423000,1827000,393000,1397000,2012500,1103500,191000,1259500,814000,1355500,1391000,1064000,626500,406000,1854500,1465000,607500,1814000,863500,577000,928000,148500,697000,826000,146500,399000,517500,1645500,591500,1707000,764500,1956500,1225000,925500,339500,1830500,986000,801500,1474500,1479000,605000,1581000,339000,1253000,1615500,387000,1859500,283000,324500,1592000,1530500,1328000,1598500,201000,1101500,1254500,972000,1059500,550000,750500,491500,1156500,1881000,947500,506000,1547500,655000,1095000,1203000,625000,602000,1096500,1109000,1646000,808000,949500,1421500,991500,1397500,854500,549500,692500,1654500,354000,1481000,207500,969500,1712000,1205500,585000,441000,824000,933500,1060500,1066500,173000,1012500,835000,273500,829000,271000,1687000,1660500,251500,1721000,1386000,1372500,1381000,815000,1135000,1649500,18
<html dir="ltr" lang="tr" class="font-circe is-hover">
<head>
<meta charset="utf-8">
<title>İslami Oteller - Muhafazakar Tatil Köyleri - Tesettür Otel | HalalBooking.com</title>
<meta content="width=device-width" name="viewport">
<meta content="telephone=no" name="format-detection">
<link href="https://assets.halalstatic.com/assets/front/favicons/favicon-192x192-53f072d5bd4af8caae1185d6f3463fdba9aee7c40a2764c15f650bbfc59ebe67.png" rel="apple-touch-icon" sizes="192x192">
<link href="https://assets.halalstatic.com/assets/front/favicons/favicon-192x192-53f072d5bd4af8caae1185d6f3463fdba9aee7c40a2764c15f650bbfc59ebe67.png" rel="icon" sizes="192x192" type="image/png">
<meta content="#00a59b" name="theme-color">
<link color="#00a59b" href="https://assets.halalstatic.com/assets/front/favicons/safari-pinned-tab-b0b4694ccfdbbc856c72fbff91b790f19d6908f7957ec02046f035e97f7c895f.svg" rel="mask-icon">
@inarli
inarli / README.md
Last active August 29, 2015 14:06 — forked from oodavid/README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/