Skip to content

Instantly share code, notes, and snippets.

View yildiz's full-sized avatar
❤️
in love with JavaScript

Volkan Yıldız yildiz

❤️
in love with JavaScript
View GitHub Profile
@yildiz
yildiz / react-navigation-tree.jsx
Created December 28, 2019 16:50 — forked from slorber/react-navigation-tree.jsx
react-navigation-tree.jsx
const App = createAppContainer(
createStack({
LoggedSwitch: createSwitch({
// When user is authenticated
LoggedIn: createStack({
// The logged in root is generally a tab or drawer navigator
LoggedInRoot: createTabsOrDrawer({
@yildiz
yildiz / better-nodejs-require-paths.md
Created January 13, 2020 03:50 — forked from branneman/better-nodejs-require-paths.md
Better local require() paths for Node.js

Better local require() paths for Node.js

Problem

When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:

const Article = require('../../../../app/models/article');

Those suck for maintenance and they're ugly.

Possible solutions

@yildiz
yildiz / README.md
Created February 3, 2020 08:10 — forked from nikcub/README.md
Facebook PHP Source Code from August 2007
@yildiz
yildiz / send-whatsapp-group.cs
Created February 16, 2020 22:09 — forked from whatsmate/send-whatsapp-group.cs
Sending a message to a WhatsApp group in C#
using System;
using System.Net;
using System.Web.Script.Serialization; // requires the reference 'System.Web.Extensions'
using System.IO;
using System.Text;
class WaMessageSender
{
// TODO: Replace the following with your gateway instance ID, Forever Green client ID and secret:
private static string INSTANCE_ID = "YOUR_INSTANCE_ID_HERE";