Skip to content

Instantly share code, notes, and snippets.

View shivanshu-semwal's full-sized avatar

Shivanshu shivanshu-semwal

View GitHub Profile

Excalidraw

The Obsidian-Excalidraw plugin integrates Excalidraw, a feature rich sketching tool, into Obsidian. You can store and edit Excalidraw files in your vault, you can embed drawings into your documents, and you can link to documents and other drawings to/and from Excalidraw. For a showcase of Excalidraw features, please read my blog post here and/or watch the videos below.

Please upgrade to Obsidian v0.12.19 or higher to get the latest release.

[46] INFO: # Daemon pre-start hook
[46] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
[47] INFO: Copying /etc/optimus-manager/optimus-manager.conf to /var/lib/optimus-manager/tmp/config_copy.conf
[51] INFO: Startup mode is: intel
[51] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'intel', 'current_mode': None}
[51] INFO: Daemon pre-start hook completed successfully.
[51] INFO: Calling Xorg pre-start hook.
[6] INFO: # Commands daemon
[7] INFO: Opening UNIX socket
[7] INFO: Awaiting commands
@shivanshu-semwal
shivanshu-semwal / irc.md
Created December 2, 2020 10:30 — forked from xero/irc.md
irc cheat sheet

IRC Reference

Not intended as a guide for newbies, more like a "cheat sheet" for the somewhat experienced IRC user, especially one who wields some power over a channel.

The Basics

  • /join #channel
    • Joins the specified channel.
  • /part #channel
  • Leaves the specified channel.
#include <iostream>
#include <time.h>
#ifdef _WIN32
#define CLEAR_SCREEN "cls"
#include <windows.h>
#else
#include <unistd.h>
#define CLEAR_SCREEN "clear"
#endif // _WIN32
@shivanshu-semwal
shivanshu-semwal / basic.c
Created July 1, 2020 09:09
[basic layout c] c main function #c
#include <stdio.h>
int main(void){
// code
return 0;
}