seed
stringlengths
1
14k
source
stringclasses
2 values
return newFunc
ise-uiuc/Magicoder-OSS-Instruct-75K
@Override public Ingredient getRepairIngredient() { return Ingredient.ofItems(ItemRegistry.TOURMALINE_INGOT); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
public override func loadProperty(__node: DDXMLElement, __request: EPA_FdV_AUTHZ_RequestResultHandler ) -> Bool { if __node.localName=="ReferenceList" { if EPA_FdV_AUTHZ_Helper.isValue(node:__node, name: "ReferenceList") {
ise-uiuc/Magicoder-OSS-Instruct-75K
mask.downgrade(4).plot(file_name=d["output_file"].replace(".fits", ""))
ise-uiuc/Magicoder-OSS-Instruct-75K
$category_data['cat_id'] = array('neq',$cat_id); } $categorylist = $category->where($category_data)->order('cat_order asc')->field('cat_id,cat_name')->select();
ise-uiuc/Magicoder-OSS-Instruct-75K
#Author: <NAME>
ise-uiuc/Magicoder-OSS-Instruct-75K
def get_full_name(self): return '{} {}'.format(self.firstname, self.lastname) def __repr__(self): return f'<Student {self.get_full_name()}, {self.classname} from {self.company_name}>'
ise-uiuc/Magicoder-OSS-Instruct-75K
# n = hi - lo + 1 # iterate over all the integers in the range for num in range(lo, hi + 1): # n iterations # calulate the power of the integer
ise-uiuc/Magicoder-OSS-Instruct-75K
// @Bind(R.id.account_title) // TextView accountTitle; // @Bind(R.id.rel_title_bar) // RelativeLayout relTitleBar; // @Bind(R.id.account_alter_user_src) // ImageView accountAlterUserSrc; // @Bind(R.id.account_alter_user_text) // EditText accountAlterUserText; // @Bind(R.id.account_alter_get_code) // Button accountAlterGetCode; // @Bind(R.id.account_alter_mes_src)
ise-uiuc/Magicoder-OSS-Instruct-75K
pub const WEBKIT_INPUT_PURPOSE_PHONE: WebKitInputPurpose = 3; pub const WEBKIT_INPUT_PURPOSE_URL: WebKitInputPurpose = 4; pub const WEBKIT_INPUT_PURPOSE_EMAIL: WebKitInputPurpose = 5; pub const WEBKIT_INPUT_PURPOSE_PASSWORD: WebKitInputPurpose = 6;
ise-uiuc/Magicoder-OSS-Instruct-75K
print('env file loaded from {0}'.format(filename))
ise-uiuc/Magicoder-OSS-Instruct-75K
assert len(hp.statements) == 5 s0 = hp.statements[0] assert isinstance(s0, Complex) assert len(s0.members) == 2 assert set([ag.name for ag in s0.members]) == set(['ITGA7', 'CHRNA1']) assert s0.members[0].db_refs == \ {'HGNC': '6143', 'UP': 'Q13683', 'EGID': '3679', 'REFSEQ_PROT': 'NP_001138468.1'}
ise-uiuc/Magicoder-OSS-Instruct-75K
; $nsr = new NamespaceRegistry($factory, $transport); return $nsr; } /*************************************************************************/ /* Tests /*************************************************************************/ /** * @dataProvider constructorDataprovider * @covers Jackalope\NamespaceRegistry::__construct */
ise-uiuc/Magicoder-OSS-Instruct-75K
: "${prevSSDErrorK:="0"}" : "${prevSSDProportionalVal:="0"}" : "${prevSSDIntegralVal:="0"}" : "${prevSSDDerivativeVal:="0"}" : "${prevSSDControlOutput:="100"}" : "${prevHBAErrorK:="0"}" : "${prevHBAProportionalVal:="0"}" : "${prevHBAIntegralVal:="0"}" : "${prevHBADerivativeVal:="0"}" : "${prevHBAControlOutput:="100"}"
ise-uiuc/Magicoder-OSS-Instruct-75K
class TestsslFinding(VSFinding):
ise-uiuc/Magicoder-OSS-Instruct-75K
app.exec(); return 1; }
ise-uiuc/Magicoder-OSS-Instruct-75K
global agents if agents is None: with open(NETWORKING_AGENT_FILENAME) as user_agents: agents = [x.strip() for x in user_agents.readlines()] return agents def get_agent():
ise-uiuc/Magicoder-OSS-Instruct-75K
/// </summary> //public string name; //public string value;
ise-uiuc/Magicoder-OSS-Instruct-75K
log.tracef(throwable, "Retrying %s after concurrent change", command); }
ise-uiuc/Magicoder-OSS-Instruct-75K
out = self.commandtest(command) self.searchoutput(out, r'User: testbot1$', command) self.searchoutput(out, r'Type: human$', command)
ise-uiuc/Magicoder-OSS-Instruct-75K
def calc_wd_mean_radial(angles_array_deg, axis=0): # Use unit vectors to calculate the mean wd_x = np.cos(angles_array_deg * np.pi / 180.) wd_y = np.sin(angles_array_deg * np.pi / 180.)
ise-uiuc/Magicoder-OSS-Instruct-75K
do { dim = GenerateDimension(mapWidth, mapHeight, roomMaxWidth, roomMaxHeight); } while (rooms.Any(room => (!(dim.X > (room.Rectangle.X + room.Rectangle.Width + gap) || (dim.X + dim.Width + gap) < room.Rectangle.X || dim.Y > (room.Rectangle.Y + room.Rectangle.Height + gap) || (dim.Y + dim.Height + gap) < room.Rectangle.Y)))); Log($"X = {dim.X} | Y = {dim.Y} | Width = {dim.Width} | Height {dim.Height}"); rooms.Add(new Room { Rectangle = new Rectangle(dim.X, dim.Y, dim.Width, dim.Height), RoomInfo = GetRoomInfo(dim), Type = RoomType.Room, Orientation = Orientation.None,
ise-uiuc/Magicoder-OSS-Instruct-75K
#说明是 HTTPError 错误且 HTTP CODE 为 5XX 范围说明是服务器错误,可以尝试再次下载 return self.download(url, retry_count-1, headers, proxy, data) return content
ise-uiuc/Magicoder-OSS-Instruct-75K
for f in all_files: f = f.strip() include = True
ise-uiuc/Magicoder-OSS-Instruct-75K
instance.profile.save()
ise-uiuc/Magicoder-OSS-Instruct-75K
assert hasattr(quaternionic, const) c = getattr(quaternionic, const) with pytest.raises(ValueError): c *= 1.2 assert np.equal(quaternionic.one, quaternionic.array(1, 0, 0, 0)) assert np.equal(quaternionic.x, quaternionic.array(0, 1, 0, 0)) assert np.equal(quaternionic.i, quaternionic.array(0, 1, 0, 0)) assert np.equal(quaternionic.y, quaternionic.array(0, 0, 1, 0))
ise-uiuc/Magicoder-OSS-Instruct-75K
record.write("\n") # if 0 < self.max_to_keep < len(self.ckpt_names): # earliest_ckpt = self.ckpt_names.pop(0) # os.remove(earliest_ckpt)
ise-uiuc/Magicoder-OSS-Instruct-75K
let ty = self.func.type_token_stream(); stream.extend(quote! { #[allow(missing_docs)] #vis #name: #ty, }); } } impl ReturnedWidget { pub fn struct_fields_stream(&self, stream: &mut TokenStream2, vis: &Option<Visibility>) { if let Some(ty) = &self.ty { let name = &self.name; stream.extend(quote! {
ise-uiuc/Magicoder-OSS-Instruct-75K
n_step = 4 #inference = "CRF" #inference = "RNN" #inference = "AC-RNN" #inference = "DIF-SCH" #inference = "SCH"
ise-uiuc/Magicoder-OSS-Instruct-75K
return hasData;
ise-uiuc/Magicoder-OSS-Instruct-75K
iterations, max_caption_length=20, in_memory=False): ''' Initialize the PrototypicalBatchSampler object Args:
ise-uiuc/Magicoder-OSS-Instruct-75K
fields = [ "az_tool_path", "az_tool_target", "azure_extension_dir", "az_extensions_installed",
ise-uiuc/Magicoder-OSS-Instruct-75K
def run_pre_runner(self): for integration in self.features: if integration.is_valid(): integration.pre_runner() def run_post_runner(self, scan_reports): for integration in self.features: if integration.is_valid(): integration.post_runner(scan_reports) integration_feature_registry = IntegrationFeatureRegistry()
ise-uiuc/Magicoder-OSS-Instruct-75K
st.set_page_config(layout="wide") scatter_column, settings_column = st.beta_columns((4, 1))
ise-uiuc/Magicoder-OSS-Instruct-75K
bool Enable { get; set; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
trait FloatingPointOnly {
ise-uiuc/Magicoder-OSS-Instruct-75K
--arg target_url "https://console.cloud.google.com/cloud-build/builds;region=global/${build_id};step=${build_step}?project=${project_id}" \ --arg state "${test_state}" \ '{context: $context, target_url: $target_url, state: $state}') curl \ -X POST \ -u "$github_username:$GITHUB_TOKEN" \
ise-uiuc/Magicoder-OSS-Instruct-75K
public class PsiIconUtil { @Nullable public static Icon getProvidersIcon(@NotNull PsiElement element, @Iconable.IconFlags int flags) { final boolean dumb = DumbService.getInstance(element.getProject()).isDumb(); for (final IconProvider iconProvider : getIconProviders()) { if (dumb && !DumbService.isDumbAware(iconProvider)) { continue; } final Icon icon = iconProvider.getIcon(element, flags); if (icon != null) return icon; } return null; }
ise-uiuc/Magicoder-OSS-Instruct-75K
CLUSTER_NODE_NAMES=$(gcloud compute instance-groups list-instances "${CLUSTER_INSTANCE_GROUP##*/}" --project="${GCP_PROJECT}" --zone="${CLUSTER_ZONE}" --format="value(NAME)") while IFS= read -r NODE; do CLUSTER_NODE_CPU_PLATFORM=$(gcloud compute instances describe "${NODE}" --project="${GCP_PROJECT}" --format="value(cpuPlatform)" --zone="${CLUSTER_ZONE}") echo "NODE: ${NODE} CPU: ${CLUSTER_NODE_CPU_PLATFORM}" done <<< "${CLUSTER_NODE_NAMES}" COMPONENT_NAME="locust" LOCUST_CLUSTER_NAME="loadtest-${COMPONENT_NAME}-${LOCUST_MACHINE_TYPE}" # deploy locust app create_cluster "$COMPONENT_NAME" "$LOCUST_CLUSTER_NAME" "$CLUSTER_ZONE" "$GCP_PROJECT" "$LOCUST_MACHINE_TYPE"
ise-uiuc/Magicoder-OSS-Instruct-75K
} // if the sum of all elements are zero, then the last index is also the equilibrium index
ise-uiuc/Magicoder-OSS-Instruct-75K
p_len = len(uniq_problems_array) ac_avg = ac_avg/p_len onsite_avg = onsite_avg/p_len access_avg = access_avg/p_len # 就 隨直覺 其實應該要有更好的評估方法 for problem in uniq_problems_array: problem['LastAppearance'] = datetime.datetime.fromtimestamp( problem['LastAppearance']).strftime('%Y-%m-%d') # 順便做 懶得前端渲染轉換 :P rating_val = problem['AcceptRate']/ac_avg*0.8 + \
ise-uiuc/Magicoder-OSS-Instruct-75K
// // OpenWalletController.swift // ZilliqaSDKiOSExample // // Created by Alexander Cyon on 2018-05-26. // Copyright © 2018 Open Zesame. All rights reserved. //
ise-uiuc/Magicoder-OSS-Instruct-75K
import java.lang.annotation.Documented; import java.lang.annotation.ElementType; import java.lang.annotation.Inherited; import java.lang.annotation.Retention;
ise-uiuc/Magicoder-OSS-Instruct-75K
def preprocess_data_discrete_identification(file, idx_t0, idx_t1, N0 = 250, N1 = 250, noise = 0.0): x, t, u_exact = load_dataset(file) # Compute domain bounds for x lb = x.min(0) ub = x.max(0) # Determine dt dt = t[idx_t1] - t[idx_t0] # Determine q q = int(np.ceil(0.5*np.log(np.finfo(float).eps)/np.log(dt))) # Sampling for initial step
ise-uiuc/Magicoder-OSS-Instruct-75K
set CLIENT_ID='348978265808.349598211747' set CLIENT_SECRET='71dd524c1ff969f4d6ce63eef862130b' set VERIFICATION_TOKEN='<PASSWORD>' python app.py
ise-uiuc/Magicoder-OSS-Instruct-75K
>(a0) ) { } javax::crypto::spec::DESKeySpec::DESKeySpec(local_ref< array<jbyte,1> > const &a0, jint a1) : object<javax::crypto::spec::DESKeySpec>( call_new_object<
ise-uiuc/Magicoder-OSS-Instruct-75K
def __repr__(self): return "Register(name ={}, email = {}, number = {})"\ .format(self.col1, self.col2, self.col3)
ise-uiuc/Magicoder-OSS-Instruct-75K
# In[13]: ict_title_list = [] ict_date_list = [] ict_url_list = [] ictnotice_url = "http://ict.cau.ac.kr/20150610/sub05/sub05_01_list.php" ictnotice_page = urlopen(ictnotice_url)
ise-uiuc/Magicoder-OSS-Instruct-75K
Revises: dc4<PASSWORD>
ise-uiuc/Magicoder-OSS-Instruct-75K
terraform import opentoolchain_integration_ibm_github.gh <integration_id>/<toolchain_id>/<env_id>
ise-uiuc/Magicoder-OSS-Instruct-75K
from delira.models.backends.chainer.abstract_network import \ AbstractChainerNetwork from delira.models.backends.chainer.data_parallel import \ DataParallelChainerNetwork from delira.models.backends.chainer.data_parallel import \ DataParallelChainerOptimizer from delira.models.backends.chainer.data_parallel import \ ParallelOptimizerUpdateModelParameters from delira.models.backends.chainer.data_parallel import \ ParallelOptimizerCumulateGradientsHook
ise-uiuc/Magicoder-OSS-Instruct-75K
import com.cs.fx.domainmodel.CurrencyRepository; import com.cs.fx.fxservice.validation.TradeValidator; import com.cs.fx.service.model.ErrorCodeDto;
ise-uiuc/Magicoder-OSS-Instruct-75K
app = app.Session()
ise-uiuc/Magicoder-OSS-Instruct-75K
if age >= 18: print ("You are old enough vote (yay!) ") print("Loading...") print ("Please put an 'X' in the box") else: print ("Please come back in {} years".format( 18 - age )) endkey = input ("press enter to exit the program\t\t\t\t") print ("exiting program...")
ise-uiuc/Magicoder-OSS-Instruct-75K
# config RAID_NAME = "<NAME>" # for heroic week, set this to 10 # after that in the season, set this at 16 MIN_KEY_LEVEL = 16
ise-uiuc/Magicoder-OSS-Instruct-75K
config = urarand.config.get_config() #urarand.collect.collect(lambda x : print('*', end='', flush=True)) urarand.collect.collect(config["ent_gen"].tick) if __name__ == "__main__": main()
ise-uiuc/Magicoder-OSS-Instruct-75K
logging.basicConfig(level=logging.INFO) if not args.resume: with open(os.path.join(args.save_path, 'cfg.json'), 'w') as f: json.dump(cfg, f, indent=1) device_ids = list(map(int, args.device_ids.split(','))) num_devices = torch.cuda.device_count()
ise-uiuc/Magicoder-OSS-Instruct-75K
def coinChange(self, coins: List[int], amount: int) -> int: dp = [inf] * (amount + 1) dp[0] = 0 for coin in coins: for x in range(coin, amount + 1): dp[x] = min(dp[x], dp[x - coin] + 1) return dp[amount] if dp[amount] != inf else -1
ise-uiuc/Magicoder-OSS-Instruct-75K
# mul cipher_mul = num1 * num2 plain_mul = HE.decrypt(cipher_mul, decode_value=True) print(f"Their product is encrypted as ...{cipher_mul.to_bytes()[-16:].hex()}") print(f"decrypted product: {plain_mul}")
ise-uiuc/Magicoder-OSS-Instruct-75K
var hue: CGFloat = 0.0 var saturation: CGFloat = 0.0 var brightness: CGFloat = 0.0 var alpha: CGFloat = 0.0 self.rawValue.getHue(&hue, saturation: &saturation, brightness: &brightness, alpha: &alpha) return Color(hue: Double(hue), saturation: Double(saturation), brightness: Double(brightness) * cappedPercent, alpha: Double(alpha)) } public static func random() -> Color { let uint32MaxAsFloat = Float(UInt32.max) let red = Double(Float(arc4random()) / uint32MaxAsFloat) let blue = Double(Float(arc4random()) / uint32MaxAsFloat) let green = Double(Float(arc4random()) / uint32MaxAsFloat)
ise-uiuc/Magicoder-OSS-Instruct-75K
return false; } } else { if ((strIndex >= strLength) || (ch != str.charAt(strIndex))) { return false; } strIndex++; } } return strIndex == strLength; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
try: t_slug = args[0] tournament = Tournament.objects.get(slug=t_slug) self.tournament = tournament except IndexError: raise CommandError('Please enter a tournament slug') except Tournament.DoesNotExist: raise CommandError('Tournament slug not found') if options['acceptplayer']: self.accept(options['acceptplayer']) elif options['accept']: self.accept() else: self.print_waiting_list()
ise-uiuc/Magicoder-OSS-Instruct-75K
currColor = image[sr][sc] def dfs(x: int, y: int):
ise-uiuc/Magicoder-OSS-Instruct-75K
parser.add_argument('--version', help='Get Version String of cc1', required=False) parser.add_argument('--preproc', help='preproc path', required=False) parser.add_argument('--charmap', help='preproc charmap', required=False) parser.add_argument('-S', action='store_true', help='Ignore parameter as agbcc does not know it', required=False) parser.add_argument('-o', help='Output Assembly file', required=False, dest='destination') parser.add_argument('--no-parse', action='store_true', help='disable parsing of agbcc output (debug option)', required=False) return parser.parse_known_args(argv) def compile(source, output_filename, args, remainder): cpp_args = ["cpp", "-nostdinc", "-undef"]
ise-uiuc/Magicoder-OSS-Instruct-75K
<filename>python_backend/server.py<gh_stars>0 from flask import Flask import json from .recommender import getRecommendedItems
ise-uiuc/Magicoder-OSS-Instruct-75K
sum = sum + num num = int(input("Enter a number to sum, or 0 to indicate you are finished:")) summ = summ + 1 average = sum/summ print("Your average is " + str(average)) """"#R/P/S answer = input("Would you like to play?") while answer == "Yes": p1_input = input("Rock, paper, scissors")
ise-uiuc/Magicoder-OSS-Instruct-75K
detprop = yaml.load(df, Loader=yaml.FullLoader) try: LUT_VOX_DIV = np.array(detprop['lut_vox_div']) N_OP_CHANNEL = detprop['n_op_channel'] OP_CHANNEL_EFFICIENCY = np.array(detprop['op_channel_efficiency']) except KeyError: LIGHT_SIMULATED = False
ise-uiuc/Magicoder-OSS-Instruct-75K
# app_ip=`cd ../terraform/stage && terraform output | grep app_external_ip | awk '{print $3}'`
ise-uiuc/Magicoder-OSS-Instruct-75K
function copyResources(){ headerLog "copyResources" copyFolder "$(dirname "$0")/installer" } function mountEfsFileSystem(){ headerLog "mountEfsFileSystem"
ise-uiuc/Magicoder-OSS-Instruct-75K
fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output> {
ise-uiuc/Magicoder-OSS-Instruct-75K
req.mount('https://', SSLErrorAdaptor()) def download_image(record): print 'Downloading %s . . .' % (record['image_number']) try: img_request = req.get(record['image_url']) with open(os.path.join(OUTPUT_DIRECTORY, record['image_number'] + '.jpeg'), 'wb') as img_file: img_file.write(img_request.content) except Exception as ex: print '*** Unable to download file %s' % record['image_number'] print ex.message
ise-uiuc/Magicoder-OSS-Instruct-75K
if [ "$ARCH" = "AARCH64" ] then dub test --arch=aarch64 --build=unittest else dub test --arch=$ARCH --build=unittest # if [ \( "$DC" = "ldc2" \) -o \( "$DC" = "ldmd2" \) ] # then # cd benchmarks/sajson ; dub --build=release-nobounds --compiler=ldmd2 ; cd ../.. # fi fi
ise-uiuc/Magicoder-OSS-Instruct-75K
expect!(metadata.get("pactSpecification").unwrap().to_string()).to(be_equal_to("{\"version\":\"2.0.0\"}".to_string())); },
ise-uiuc/Magicoder-OSS-Instruct-75K
tintColor = color return image } }
ise-uiuc/Magicoder-OSS-Instruct-75K
iv = Random.new().read(AES.block_size) suffix = b'lol, u tk him 2 da bar|?duh' cipher = AES.new(key, AES.MODE_ECB) def my_encryption_oracle(plaintext): return cipher.encrypt(ca.pkcs7_pad(b'A'*random.randint(1,AES.block_size) + plaintext + suffix, AES.block_size))
ise-uiuc/Magicoder-OSS-Instruct-75K
.ToList(); if (words.Count>0) { Console.WriteLine(String.Join(Environment.NewLine, words)); } } } }
ise-uiuc/Magicoder-OSS-Instruct-75K
from django.test import TestCase # Create your tests here.
ise-uiuc/Magicoder-OSS-Instruct-75K
self._apikey = apikey self._logger = logger def _uri(self, coordinates, profile=DEFAULT_PROFILE,
ise-uiuc/Magicoder-OSS-Instruct-75K
{ return $this->orderType; } /** * Conditional close order price
ise-uiuc/Magicoder-OSS-Instruct-75K
def __init__(self, settings, general_params): self.settings = settings self.general_params = general_params self.submitters = {} def add_submitter(self, keyword): if not keyword in self.submitters:
ise-uiuc/Magicoder-OSS-Instruct-75K
return 1 return 2
ise-uiuc/Magicoder-OSS-Instruct-75K
#define TRV2_ENGINE_VERSION_PATCH 0 #define TRV2_ENGINE_VERSION_TWEAK 0
ise-uiuc/Magicoder-OSS-Instruct-75K
self.allocator.tso.val.store(last_limit, Ordering::SeqCst); match self.init_tso_limit().await {
ise-uiuc/Magicoder-OSS-Instruct-75K
namespace Amazon.Pinpoint.Model { /// <summary> /// Specifies settings for publishing event data to an Amazon Kinesis data stream or an
ise-uiuc/Magicoder-OSS-Instruct-75K
#default_successors = combine(h_add, ha_applicable) default_successors = ff_fn(plan_cost, first_goals, op=sum) ########################################################################### def single_generator(initial, goal, operators, successors): def generator(vertex):
ise-uiuc/Magicoder-OSS-Instruct-75K
self.username = None self.password = None
ise-uiuc/Magicoder-OSS-Instruct-75K
import json import requests # Read in user configuration with open('.twitchalyze') as data_file: CONFIG = json.load(data_file)
ise-uiuc/Magicoder-OSS-Instruct-75K
use norsys\score\composer\part\name; class email extends name\any { function __construct() { parent::__construct('email'); } }
ise-uiuc/Magicoder-OSS-Instruct-75K
} case $1 in create) createContainer ;; delete) deleteContainer ;; stop)
ise-uiuc/Magicoder-OSS-Instruct-75K
class RandomWordView(APIView): serializer_class = RandomWordSerializer
ise-uiuc/Magicoder-OSS-Instruct-75K
use Illuminate\Database\Eloquent\Model; class Meditype extends Model { // }
ise-uiuc/Magicoder-OSS-Instruct-75K
jsonObject = response.json() else: print('Unexpected Error: [HTTP {0}]: Content: {1}'.format(response.status_code, response.content)) if jsonObject is not None: print(jsonObject) # add file, DOI, date and version info in the JSON, if available if doi is not None: jsonObject['DOI'] = doi; if pmc is not None: jsonObject['PMC'] = pmc;
ise-uiuc/Magicoder-OSS-Instruct-75K
/** * {@inheritdoc} */ public function build(ExpressionInterface $expression, array &$params = []) { $placeholder = static::PARAM_PREFIX . count($params); $params[$placeholder] = $expression; return $placeholder; } }
ise-uiuc/Magicoder-OSS-Instruct-75K
field=models.CharField(max_length=32, unique=True), ), migrations.AlterField( model_name='race', name='name', field=models.CharField(max_length=32, unique=True), ), migrations.AlterField( model_name='skill', name='name', field=models.CharField(max_length=32, unique=True), ), ]
ise-uiuc/Magicoder-OSS-Instruct-75K
import rospy import cv2 import numpy as np from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import time import os ''' CAMERA NODE RUNNING AT 10HZ RECORD ALL IMAGES '''
ise-uiuc/Magicoder-OSS-Instruct-75K
static func setupAppearance() { UINavigationBar.appearance().barTintColor = UIColor(named: ColorType.tabBar.rawValue) UINavigationBar.appearance().tintColor = UIColor(named: ColorType.active.rawValue) UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.foregroundColor: UIColor.white] UINavigationBar.appearance().barStyle = .black } }
ise-uiuc/Magicoder-OSS-Instruct-75K
from ..mapper.types import Timestamp, AnyType __all__ = ['UserPresence', 'UserPresenceInterface'] class UserPresenceInterface(ApiInterfaceBase): user_id: int last_activity_at_ms: str is_active: bool in_threads: [str]
ise-uiuc/Magicoder-OSS-Instruct-75K
self.filter_high_freq.setObjectName("filter_high_freq") self.gridLayout.addWidget(self.filter_high_freq, 4, 4, 1, 1) self.filter_low_freq = QtWidgets.QDoubleSpinBox(Activity) self.filter_low_freq.setMinimumSize(QtCore.QSize(100, 0))
ise-uiuc/Magicoder-OSS-Instruct-75K
// http://www.boost.org/LICENSE_1_0.txt) #ifndef FCPPT_RANDOM_DISTRIBUTION_PARAMETERS_UNIFORM_REAL_DECL_HPP_INCLUDED #define FCPPT_RANDOM_DISTRIBUTION_PARAMETERS_UNIFORM_REAL_DECL_HPP_INCLUDED #include <fcppt/make_strong_typedef.hpp> #include <fcppt/strong_typedef_impl.hpp> #include <fcppt/random/distribution/base_type.hpp> #include <fcppt/random/distribution/parameters/uniform_real_fwd.hpp> #include <fcppt/config/external_begin.hpp>
ise-uiuc/Magicoder-OSS-Instruct-75K
def __repr__(self): return 'Jaro'
ise-uiuc/Magicoder-OSS-Instruct-75K