Skip to content

Instantly share code, notes, and snippets.

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

Srihari pythongiant

🏠
Working from home
View GitHub Profile
<!DOCTYPE html>
<html>
<title>W3.CSS Template</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
from kivy.uix.screenmanager import Screen
from kivy.lang import Builder
class ConfrenceScreen(Screen):
Builder.load_string('''
<ConfrenceScreen>:
name:"ConferenceScreen"
Label:
text="PLS WORK"
#!/usr/bin/python3
import matplotlib.pyplot as plt
import random
#The co-ordinates go in here
# We add one for testing
all_points=[[10,10]]
#generate random points
for point in range(0,10):
X=random.randint(0,60)
I should change my password.
<html>
<head>
<title>EncredX issues</title>
<style>
body{
font-family:arial;
font-size:1.2em;
}
h1,h2,h3{
background-color:orange;
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
Russia 16,376,870 6,323,142 10.996 %
China 9,388,211 3,624,807 6.303 %
Unite-tates 9,147,420 3,531,837 6.142 %
Canada 9,093,510 3,511,022 6.105 %
Brazil 8,358,140 3,227,095 5.612 %
Australia 7,682,300 2,966,151 5.158 %
India 2,973,190 1,147,955 1.996 %
Argentina 2,736,690 1,056,641 1.837 %
Kazakhstan 2,699,700 1,042,360 1.813 %
Algeria 2,381,740 919,595 1.599 %
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
values."
(setq-default
;; Base distribution to use. This is a layer contained in the directory
@pythongiant
pythongiant / MainActivity.java
Last active May 23, 2019 16:37 — forked from menuka94/MainActivity.java
Android Custom List View with Custom Adapter
package com.example.menuka.adaptertest;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.ListView;
import java.util.ArrayList;
import java.util.List;
public class MainActivity extends AppCompatActivity {
@pythongiant
pythongiant / gist:570f7318c4f9088ccd10331a38cd01c0
Created June 4, 2019 05:17 — forked from evildmp/gist:3094281
Set up Django, nginx and uwsgi

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using: