Skip to content

Instantly share code, notes, and snippets.

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

siddharth sedflix

🏠
Working from home
View GitHub Profile
@sedflix
sedflix / download-unzip.php
Last active August 21, 2018 15:59 — forked from philipp-r/download-unzip.php
Download and unzip file with PHP
<?php
// get latest german WordPress file
$ch = curl_init();
$source = "https://github.com/geekSiddharth/student-senate/archive/master.zip"; // THE FILE URL
curl_setopt($ch, CURLOPT_URL, $source);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec ($ch);
curl_close ($ch);
@sedflix
sedflix / README.md
Last active April 9, 2020 14:12 — forked from shreeya13garg/README.md
Progress Report For Cosmos for RGSoc