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 / SM_.idea_SM.iml
Created November 28, 2016 09:50
MyCodeForSMProject
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
@sedflix
sedflix / theMessThing_.idea_copyright_profiles_settings.xml
Created November 30, 2016 06:34
firstStageOfTheMessThingBackend
@sedflix
sedflix / addCoupon.php
Created November 30, 2016 07:32
Second Stage
<?php
$host = '127.0.0.1';
$db = 'messthing';
$user = 'root';
$pass = '';
$charset = 'utf8';
$dsn = "mysql:host=$host;dbname=$db;charset=$charset";
$opt = [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library name="PHP Runtime" type="php">
<CLASSES>
<root url="jar://$APPLICATION_HOME_DIR$/plugins/php/lib/php.jar!/stubs/standard" />
int64_t __gmon_start__ = 0;
void fun_400520();
void _init() {
int64_t rax1;
rax1 = __gmon_start__;
if (rax1) {
#!/usr/bin/env python
"""
Pose predictions in Python.
Caffe must be available on the Pythonpath for this to work. The methods can
be imported and used directly, or the command line interface can be used. In
the latter case, adjust the log-level to your needs. The maximum image size
for one prediction can be adjusted with the variable _MAX_SIZE so that it
still fits in GPU memory, all larger images are split in sufficiently small
parts.
from flask import Flask
app = Flask(__name__)
@app.route("/")
def handle():
return "Doesn't matter if the work's incomplete."
if __name__ == "__main__":
app.run()
@sedflix
sedflix / code.md
Last active August 28, 2017 07:10
GSoC-2017 Final Code Report

TL;DR

The project was divided into two part:

Note: Both the GitHub repositories are single purpose for GSoC

@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 / variational_autoencoder_deconv.ipynb
Created December 18, 2017 09:52
variational_autoencoder_deconv from examples
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.