Skip to content

Instantly share code, notes, and snippets.

sadhasivam sadhasivam

Block or report user

Report or block sadhasivam

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View enroll.html
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet">
<style>
/**************************\
Basic Modal Styles
\**************************/
.modal {
View one_click_modal_code.js
var views = sr_$.views;
var modalData = {
logo_image: sr_$.logoImage || (sr_$.assetDomain + 'shoprunner/pik/logos/' + sr_$.model.config.assetName + '.png'),
ecEnabled: sr_$.payrunner && sr_$.payrunner.Config && sr_$.payrunner.Config.cartBuyNowEnabled(),
signedIn: sr_$.member.signed_in
};
sr_$.templates.unCompiled.oneclickEnroll =
View maturity
You forgive more
You respect differences
You don’t force love
You accept heartaches
You don’t judge easily
You become more open-minded
You prefer to be silent than to engage in a nonsense fight
Your happiness don’t depend from people but from your inner self
@sadhasivam
sadhasivam / npm modules.js
Created Jul 19, 2018
npm_module_loading.js
View npm modules.js
const npm = p => import(`https://unpkg.com/${p}?module`);
(async () => {
const { h, Component, render } = await npm('preact');
class Clock extends Component {
componentWillMount() {
const tick = () => this.setState({ time: new Date() });
setInterval(tick, 1000);
tick();
View better_workplace.md

#1 Stop Working "Hard" Sadhguru: Right from childhood, nobody told us to study joyfully or work lovingly. People have always told us, “When you study, study hard. When you work, work hard.” People do everything hard, but then end up complaining that life is not easy. The very nature of the ego is such that it wants to do everything hard because its only concern is to be one step above somebody else. It is a very sad way to live. When that is the whole effort, doing everything hard naturally becomes a source of satisfaction for people. If they do things joyfully, it feels like they haven’t done anything at all. Isn’t it wonderful when you do many things but you still feel like you haven’t done anything? That is how it should be.

#2 Go Beyond Competition Sadhguru: True human capabilities will not find expression in competition. When you are trying to race with somebody, you are only thinking of going one step ahead of him, that's all. You are not thinking of what your ultimate potential is. True human capabili

View GenerateWSPassword.java
package client;
import com.sun.org.apache.xerces.internal.impl.dv.util.Base64;
import java.io.PrintStream;
import java.security.MessageDigest;
public class GenerateWSPassword
{
public GenerateWSPassword() {}
View tamil.Palindrome.md

திருஞான சம்மந்தரின் மாலை மாற்று (Palindrome) திருப்பதிகம் பாடல்கள் மற்றும் அதன் பொருள்

நான்காவது பாடல்:

நீவாவாயா காயாழீ காவாவானோ வாராமே மேராவானோ வாவாகா ழீயாகாயா வாவாநீ

நீவா = நீங்குதல் இல்லாத வாயா = மெய்ப்பொருளானவனே

View haiku.md

Kaga no Chiyo (1703–1775). Her husband has passed away. This poem is a widowed Chiyo bemoaning her empty bed.

"I sleep . . . I wake . . . How wide The bed with none beside."

@sadhasivam
sadhasivam / snowflake_local_file_upload_download.sql
Created Mar 21, 2018
snowflake_local_file_upload_download.sql
View snowflake_local_file_upload_download.sql
-- input data
put file:///Users/kadalamittai/Downloads/data_domain.csv@~/staged;
CREATE TEMPORARY TABLE PUBLIC.tmp_domain_orders(
increment_id varchar(256),
subtotal double,
order_date date
);
copy into tmp_domain_orders from @~/staged/data_domain.csv.gz file_format = (type = csv skip_header = 1);
-- export data
@sadhasivam
sadhasivam / main.go
Created Jan 7, 2018 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
View main.go
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
You can’t perform that action at this time.