Skip to content

Instantly share code, notes, and snippets.

@baran
baran / proc_code_view.sql
Created June 11, 2022 12:58
Postgres procedure code view on dbserver
SELECT prosrc FROM pg_proc WHERE proname = 'procName';
@baran
baran / debug-log-postgresql.sql
Created May 23, 2022 05:40
Postgresql debug log
RAISE INFO 'Print the message of information %', now() ;
RAISE LOG 'Print the message of log %', now();
RAISE DEBUG 'Print the message of debug %', now();
RAISE WARNING 'Print the message of warning %', now();
RAISE NOTICE 'Print the message of notice %', now();
RAISE EXCEPTION 'Print the message of exception %', now();
@baran
baran / terminal.sh
Created February 25, 2022 07:16
"You have already activated set 1.0.2" solve
docker-compose run web bundle clean --force
@baran
baran / gsap-404-typed-message-using-splittext.markdown
Created July 27, 2019 08:45
GSAP 404 typed message using SplitText
### Keybase proof
I hereby claim:
* I am baran on github.
* I am onurbaran (https://keybase.io/onurbaran) on keybase.
* I have a public key whose fingerprint is 956B 44C7 EFDC 9F48 1E52 13DA 78E3 1C0C AC38 F3A5
To claim this, I am signing this object:
// * * * * * * * * * * * * * * * *
//
// <!-- Push Notification -->
//
// * * * * * * * * * * * * * * * *
var Push = require("FuseJS/Push");
var reg_id = Observable("local");
Push.onRegistrationSucceeded = function(regID) {
debug_log("Reg Succeeded: " + regID + "\n");
<App>
<Font ux:Global="Linearicons" File="Linearicons-Free.ttf" />
<Panel>
<JavaScript>
var Observable = require('FuseJS/Observable');
var menuItems = [{
"title": "Menu Item 01",
"icon": "\ue82e", // Basket

Keybase proof

I hereby claim:

  • I am baran on github.
  • I am onurbaran (https://keybase.io/onurbaran) on keybase.
  • I have a public key whose fingerprint is CFF3 194D DB4F D4B4 C93D 94B7 0BEA 15C8 E71B B852

To claim this, I am signing this object: