Skip to content

Instantly share code, notes, and snippets.

View sadhasivam's full-sized avatar

sadhasivam sadhasivam

  • SR INC
  • ChesterSprings PA
View GitHub Profile
@sadhasivam
sadhasivam / maturity
Created July 22, 2018 01:17
maturity.md
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 July 19, 2018 21:42
npm_module_loading.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();
@sadhasivam
sadhasivam / better_workplace.md
Last active July 17, 2018 14:13
better_workplace

#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

@sadhasivam
sadhasivam / GenerateWSPassword.java
Created April 9, 2018 23:03
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() {}
@sadhasivam
sadhasivam / tamil.Palindrome.md
Created April 8, 2018 01:52
tamil.Palindrome.md

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

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

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

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

@sadhasivam
sadhasivam / haiku.md
Last active April 1, 2018 00:15
haiku

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 March 21, 2018 00:37
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 January 7, 2018 17:40 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@sadhasivam
sadhasivam / agile_manifesto.md
Last active December 10, 2017 13:20
agility

Break tasks into individually completable items

Everyone in team should be able to work on any task/story,

Fix target tasks for current sprint

Have a standup everyday to discuss progress, End of sprint find what went wrong/right

Standardization and Agile are exact opposites. I am scared if someone says lets bring Agile Standards here.

Each team adapts, embraces Agile in a different way.

Agile is not micro mangaing. Agile is understanding, documenting, evanglising micro details.

Agile is empowerment and teaming and not Bossing.

@sadhasivam
sadhasivam / tamil_2_english.md
Created November 17, 2017 17:14
tamil_2_english

ஆரம் + அச்சு + எறி ஆகிய சொற்கள் இணைந்து உருவானதே இந்த "Archery".