Skip to content

Instantly share code, notes, and snippets.

View imprakharshukla's full-sized avatar
🎯
Focusing

Prakhar Shukla imprakharshukla

🎯
Focusing
View GitHub Profile
Arch Linux installation instructions
To use Blender on Arch Linux, you must enable the “Community” software repository. To do this, open up a terminal window by pressing Ctrl + Alt + T or Ctrl + Shift + T on the keyboard. Then, from there, open up your Pacman configuration file in the Nano text editor.
sudo nano -w /etc/pacman.conf
Using the Down Arrow on the keyboard, locate the “Community” section of the file, and remove the # symbol from in front of “Community.” Be sure to also remove the # symbol from all lines directly below it.
Once you’ve made the edits to the Pacman configuration file in the Nano text editor, it’s time to save the edits. To save, press Ctrl + O on the keyboard, and press the Enter key. Then, close the Nano text editor by pressing Ctrl + X.
After saving edits to the Pacman configuration file, use the Arch package manager to re-sync software sources, so that “Community” is accessible.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
const functions = require('firebase-functions');
const cors = require('cors')({ origin: true });
exports.purch_moddedFetch = functions.https.onRequest((request, response) => {
cors(request, response, async () => {
const express = require('express');
const app = express();
const bodyParser = require('body-parser');
//Removed for sec reasons
const stripe = require('stripe')('sk_test_xxxxx');
const endpointSecret = 'whsec_xxxxx';
// set the port of our application
@imprakharshukla
imprakharshukla / CaesarCipher.java
Created February 6, 2020 18:07
2017 Pratical question
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class CaesarCipher {
static String s = "";
static String s2 = "";
static char symbols[];
static String words[];
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Q1_2018 {
static int n = 0;
static int primes[];
public static void main(String[] args) throws IOException {
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.sql.SQLOutput;
public class Q3 {
static String s;
static String s2 = "";
@imprakharshukla
imprakharshukla / Q1.java
Created February 6, 2020 14:45
Question 1 of 2019 ISC Practicals
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.Buffer;
public class Q1 {
static int day, N, y, l, k;
static int days[];
static String months[];
"Install Android SDK Platform 29 (revision: 4)" finished.
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :terminal-view:preBuild UP-TO-DATE
> Task :terminal-view:preDebugBuild UP-TO-DATE
> Task :terminal-view:compileDebugAidl NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :terminal-view:packageDebugRenderscript NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
package studio.com.techriz.andronix;
import android.app.Application;
import org.solovyev.android.checkout.Billing;
public class BillingHelper extends Application {
private static BillingHelper sInstance;