Skip to content

Instantly share code, notes, and snippets.

View kinggoesgaming's full-sized avatar
👀
404 Not Found

Hunar Roop Kahlon kinggoesgaming

👀
404 Not Found
View GitHub Profile
import type { V2_HtmlMetaDescriptor, V2_MetaFunction } from "@remix-run/node";
export const mergeMeta = (
overrideFn: V2_MetaFunction,
appendFn?: V2_MetaFunction,
): V2_MetaFunction => {
return arg => {
// get meta from parent routes
let mergedMeta = arg.matches.reduce((acc, match) => {
return acc.concat(match.meta || []);
@kinggoesgaming
kinggoesgaming / uuid-msrv-upgrade.md
Last active April 3, 2021 19:53
uuid-rs/uuid MSRV upgrade path RFC

Uuid MSRV Upgrade Specification

Currently uuid-rs/uuid follows an ad-hoc way of upgrading the MSRV, where some times we reject a MSRV upgrade and at other times we just go ahead with a MSRV upgrade in a PR that doesn't directly involve it, but is a side effect.

I think its time to have formal guidelines on how we handle upgrading MSRV.

Current MSRV

As of opening this issue, the current MSRV is 1.34.0. This was available as part of the 0.8.2.

class Node {
private:
char data[6];
public:
void copy(char &other);
};
void Node::copy(char &other) {
Node * newNode = new Node();
import menu_item_1 from "../../assets/menu/chef-select/menu-item.png"
import menu_item_2 from "../../assets/menu/chef-select/menu-item_2.png"
this.menu_items = [
{"Title": "Menu Item", "ItemImage": menu_item_1},
{"Title": "Menu Item 2", "ItemImage" : menu_item_2}
]
[INFO distinst:crates/disks/src/config/disk.rs:163] obtaining disk information from /dev/sda
[INFO distinst:crates/disks/src/serial.rs:16] obtaining serial model from /dev/sda
[INFO distinst:crates/disk-ops/src/parted.rs:28] opening disk at /dev/sda
[INFO distinst:crates/disks/src/config/partitions/mod.rs:109] obtaining partition information from /dev/sda1
[INFO distinst:crates/disks/src/config/partitions/mod.rs:109] obtaining partition information from /dev/sda2
[INFO distinst:crates/disks/src/config/partitions/mod.rs:109] obtaining partition information from /dev/sda3
[INFO distinst:crates/disks/src/config/disk.rs:163] obtaining disk information from /dev/sdb
[INFO distinst:crates/disks/src/serial.rs:16] obtaining serial model from /dev/sdb
[INFO distinst:crates/disk-ops/src/parted.rs:28] opening disk at /dev/sdb
[INFO distinst:crates/disks/src/config/partitions/mod.rs:109] obtaining partition information from /dev/sdb2
May 01 10:08:29 ap-nitro5 gnome-shell[1605]: gnome-shell-extension-system76-power: failed to detect graphics switching: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.347" (uid=1002 pid=1605 comm="/usr/bin/gnome-shell " label="unconfined") interface="com.system76.PowerDaemon" member="GetSwitchable" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1000 comm="/usr/bin/system76-power daemon " label="unconfined")
May 01 10:08:29 ap-nitro5 gnome-shell[1605]: Extension "system76-power@system76.com" had error: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.347" (uid=1002 pid=1605 comm="/usr/bin/gnome-shell " label="unconfined") interface="com.system76.PowerDaemon" member="GetProfile" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1000 comm="/usr/bin/system76-power daemon " label="unconfined
  • UserLogin: String username, String password

  • IncidentReport: String faculty, String location, long dateTime, String type, String details

  • Report: String username, IncidentReport report

  • Controllers for each page of GET / controllers.HomeController.index():Result

GET /logged controllers.HomeController.indexUser(): Result

GET /nothing controllers.LoginController.loginValidate():Result

Discord has changed their Terms of Service!
Unfortunately, this change comes with a revocation of your legal rights. Discord has revoked your right to sue (you must go through an arbitrator) and to congregate as a class action lawsuit.
Luckily, there is an opt-out for the clause, in which you must email arbitration-opt-out@discord.com, but you must do it within 30 days or you can no longer opt-out.
YOU CANNOT DELETE OR DEACTIVATE YOUR ACCOUNT TO OPT-OUT OF THE ARBITRATION CLAUSE
You can see the added clauses for yourself here: https://gist.github.com/Rapptz/c93697c9d59ec2f0d8071b7d0e907632
Compiling uuid v0.7.0 (file:///home/developer/src/oss/uuid)
error[E0468]: an `extern crate` loading macros must be at the crate root
--> benches/slog_support/mod.rs:3:1
|
3 | extern crate slog;
| ^^^^^^^^^^^^^^^^^^
error[E0425]: cannot find value `root` in this scope
--> benches/slog_support/parse_str.rs:16:15
|