This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <functional> | |
#include <string> | |
#include <fstream> | |
#include <numeric> | |
#include <algorithm> | |
class Elfs { | |
std::vector<uint64_t> elfs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<class t> | |
concept hygge = feelings::nice<t> && | |
feelings::cozy<t> && | |
feelings::comfortable && | |
requires (t v) { | |
{ v.hasBlankies() } -> bool; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#nullable enable | |
#region Usings | |
using Unity.Burst; | |
using Unity.Collections; | |
using Unity.Entities; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
using Unity.Transforms; | |
using UnityEngine.InputSystem; | |
#endregion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Combine | |
import Foundation | |
import GameController | |
import os | |
enum DPadDirection: CustomStringConvertible { | |
case none,up,down,left,right | |
var description: String { | |
switch self { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ qbs generate -g xcode | |
Build graph does not yet exist for configuration 'default'. Starting from scratch. | |
Resolving project for configuration default | |
Detecting Qt installations... | |
Found Qt at '/usr/local/Cellar/qt/5.15.0/bin/qmake'. | |
Setting up Qt at '/usr/local/Cellar/qt/5.15.0/bin/qmake'... | |
Qt was set up successfully. | |
Detecting Qt installations... | |
Found Qt at '/usr/local/Cellar/qt/5.15.0/bin/qmake'. | |
Setting up Qt at '/usr/local/Cellar/qt/5.15.0/bin/qmake'... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Checking for a new Ubuntu release | |
ERROR:root:gedefaultlocale() failed | |
Traceback (most recent call last): | |
File "/usr/lib/python3/dist-packages/UpdateManager/Core/utils.py", line 396, in get_lang | |
(locale_s, encoding) = locale.getdefaultlocale() | |
File "/usr/lib/python3.6/locale.py", line 562, in getdefaultlocale | |
return _parse_localename(localename) | |
File "/usr/lib/python3.6/locale.py", line 490, in _parse_localename | |
raise ValueError('unknown locale: %s' % localename) | |
ValueError: unknown locale: UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
@Environment(\.managedObjectContext) | |
var moc | |
/* | |
@FetchRequest(entity: Songs.entity(), | |
sortDescriptors: []) | |
var songs: FetchedResults<Songs> | |
*/ | |
@EnvironmentObject | |
var player: Player |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Different ad types | |
*/ | |
enum AdType | |
{ | |
/** No formal partnership */ | |
Affiliate = "Affiliate", | |
/** No formal partnerhsip */ | |
Ad = "Ad", | |
/** Formal partnership */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
** $Id: luaconf.h,v 1.259.1.1 2017/04/19 17:29:57 roberto Exp $ | |
** Configuration file for Lua | |
** See Copyright Notice in lua.h | |
*/ | |
/* | |
** =================================================================== | |
** Search for "@@" to find all configurable definitions. |
NewerOlder