Skip to content

Instantly share code, notes, and snippets.

@meelash
meelash / gist:9dd5be7eb87cb9b1cae358099c44e8a8
Last active May 15, 2024 23:48
Instructions for building network manager on nano pi
mkdir src
cd src/
sudo nano /etc/apt/sources.list # uncomment all the deb-src lines
sudo apt update
sudo apt upgrade
sudo apt install -y devscripts python3-pexpect libnss3-dev libjansson-dev libcurl4-gnutls-dev python-gobject-dev# devscripts gives you dget. python3-pexpect is necessary?
dget -u https://deb.debian.org/debian/pool/main/n/network-manager/network-manager_1.42.4-1.dsc # link comes from: https://tracker.debian.org/pkg/network-manager
# -u means --allow-unauthenticated- I couldn't get the gpg key to work on nano pi- worked fine on pi 3b
cd network-manager-1.42.4/
sudo apt build-dep network-manager # necessary when using ./configure + make?
[
{
"CLAIMID": 12561,
"PRACTICENAME": "Sightrite INC",
"ACCTNO": 3142,
"PatientID": 35307,
"AcctNo": 3142,
"Address1": "6995 Queens Midway Expy",
"City": "Maspeth",
"State": "NY",
const Apify = require('apify');
(async () => {
const catchDups = {};
const rootAddress = new URL('https://stores.cosmoprofbeauty.com');
const requestQueue = await Apify.openRequestQueue();
await requestQueue.addRequest({
url: rootAddress.href,
userData: {requestType:'listPage'}
})
const enqueueListItems = ($, requestType) =>{
const Apify = require('apify');
(async () => {
const rootAddress = new URL('https://stores.cosmoprofbeauty.com');
const requestQueue = await Apify.openRequestQueue();
await requestQueue.addRequest({
url: rootAddress.href,
userData: {requestType:'listPage'}
})
@meelash
meelash / gist:01525abf423c2b25a07b11b30f16a20d
Created April 21, 2019 18:31
Why will "good people" go to hell?
Ok, so you mentioned:
"There are so many good people in the world who are not Muslim. How can a god that is merciful say that those who do not believe in Islam will ultimately (most of them at least) go to hell, discounting the goodness that is in such people? I don’t understand how a greater entity can function this way."
The main assumption you are making here is that "goodness" of a material sense matters at all with respect to hell, heaven, and the hereafter, which are things in the non-material world. An analogy will help to understand why this is irrational:
Consider a person playing a video game in which it is possible to kill people, rob people, steal cars, burglarize, shoot, stab, create mayhem, etc. It is also possible, in this video game, to give charity, build buildings, plant flowers and trees, help little old ladies across the street, etc. Now, would it be correct to make assumptions about that person’s goodness or badness "in the real world" based on that person’s actions in the video game?
{
"requestedFI": 10,
"intervalBase": 10800000,
"fi_g": {
"points": [
[
0,
6
],
[
{
"requestedFI": 10,
"intervalBase": 10800000,
"fi_g": {
"points": [
[
0,
6
],
[
{
"requestedFI": 10,
"intervalBase": 10800000,
"fi_g": {
"points": [
[
0,
6
],
[
@meelash
meelash / .json
Created July 6, 2018 00:33
Initial state of app.
This file has been truncated, but you can view the full file.
{
"requestedFI": 10,
"intervalBase": 10800000,
"q": [
{
"value": "x-coredata://E4B4D986-F2F3-48A1-8CBB-6847F16878F1/Aayah/p1132",
"repetition": -1,
"lapse": 0,
"of": 1,
@meelash
meelash / gist:a180c71592b0b90a4b097827fdf085c7
Last active February 13, 2018 19:19
import chdkptp.py error
>>> import chdkptp.py
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "chdkptp/__init__.py", line 1, in <module>
from chdkptp.device import ChdkDevice, list_devices, DeviceInfo
File "chdkptp/device.py", line 8, in <module>
from chdkptp.lua import LuaContext, global_lua, parse_table
File "chdkptp/lua.py", line 141, in <module>
global_lua = LuaContext()
File "chdkptp/lua.py", line 92, in __init__