- NSMutableAttributedString/NSAttributedString 富文本设置
linshaoquan
开发技巧ios开发labelstringnsstringobjective-c
参考:http://stackoverflow.com/questions/11031623/how-can-i-use-attributedtext-in-uilabel一、设置UILabel的属性attributedText(NSMutableAttributedString)NSString*testStr=@"测试";UILabel*testLab=...(实例对象)NSMutablePa
- (IOS)让UILabel在指定的地方换行
rightmost
//换行符为\n,在需要换行的地方加上这个符号即可,如label.numberOfLines=0;label.text=@"此处\n换行";
- 纯代码写CollectionViewCell的复用问题
TreeExplore
IOSIOS
需求:需要的Button的个数不一定Button上显示的字符串的长度不一定,Button上显示的字符串和Button的个数全部从服务器下发,当Button的个数在屏幕上展示不下的时候要可以左右滑动以展示更多的Button方案:综合以上因素我选择利用CollectionView实现此功能.其中遇到几个问题:首先说明:cell中有一个Label属性-(UILabel*)textLabel{if(!_t
- IOS开发0基础入门UIkit-3--实现一个高度自适应的UILabel和一个宽度自适应的UILabel
Z编程
ios-UIkit入门ios
1.实现一个高度自适应的UILable思路:UILabel初始化之后,先不要设置他的宽度和高度,等到设置好text属性和font属性之后,根据text的长度以及font的大小来计算UILabel控件的高度//实现一个高度自适应的uilabelUILabel*label2=[[UILabelalloc]init];label2.text=@"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
- iOS自定义带两个圆角的UILabel
雪山飞狐_91ae
这里要实现的是带有两个圆角的自定义的UIlabel两个圆角的UIlabel.png主要思路是利用贝塞尔曲线绘制masklayer的轨迹。下面直接看代码:#import"CustomizeLabel.h"@interfaceCustomizeLabel()@property(nonatomic,strong)CAShapeLayer*maskLayer;@property(nonatomic,str
- el-form validator的校验提示遮盖下边的内容
夏目友人帐...
vue.jselementui前端
问题:表单的validator校验,无法自动撑起tip提示的高度,导致遮盖了下边内容解决方式:将tip提示的样式的定位设置为遵循正常的文档流对象,实现自适应高度。.el-form-item.el-form-item__content.el-form-item__error{position:static;}效果:
- tableView嵌套CollectionView,并且tableView自适应高度,collectionView自适应宽度
Tomous
先上效果图gif.gif实现原理分为两部分:1、tableView里面嵌套CollectionView,tableViewCell分为标题和collectionView两部分,,并且根据collectionView的cell个数来自适应高度;2、collectionView的cell根据里面文字长度自适应宽度(也可以自适应高度,自行设置)简单的介绍一下代码,需要demo的同学请自行移步到gitHu
- UIMenuController的基本使用
mapg
如果你的App是一个阅读类的或是可预见用户会经常拷贝App里面的内容的时候,App的的复制功能就尤其显得重要。iOS中,复制功能并没有直接集成到控件当中,如果你的App需要该功能需要重写该控件并实现相应的功能。实现步骤1、必须要继承UILabel,并且在子类中实现canBecomeFirstResponder和canPerformAction:withSender:方法2、每个可以执行的操作,都要
- Swift实现让文字从左上角开始显示(无论label的高度是多少)
闲云悠鹤蝶恋舞
实现步骤:step1:首先写一个继承自UILabel的类PatientInfoCustomLabel;step2:让所要实现该功能的label继承PatientInfoCustomLabel类即可。importUIKitclassPatientInfoCustomLabel:UILabel{overridefuncawakeFromNib(){super.awakeFromNib()}overri
- UILabel添加点击事件、删除线、下划线、特殊字符串改变颜色
邓布利多教授
1、创建空白项目,在屏幕中间添加一个UILabel#import"LabelTapController.h"@interfaceLabelTapController()@end@implementationLabelTapController-(void)viewDidLoad{[superviewDidLoad];//Doanyadditionalsetupafterloadingtheview
- 利用sscheckBox实现 多选 单选 全选 复选框
爱哭的僵小鱼
图1最近项目中需要单选或者多选的复选框的需求,然后看了下iOS自带的也找了网上看了好久,其实刚开始看sscheckbox的时候确实没看懂是怎么实现花了1个半个小时,看了下源码,才发现还是蛮简单,跟自己原来做的demo差不多思路只不过他是封装好的所以还算是偷懒的吧(有没有事后诸葛亮啊)废话不多说其实他的源码中也是用uiimagge添加手势跟uilabel实现,我原先的第一想法是用button来实现的
- iOS Swift Timer的销毁问题以及优化
程序员june
IOSiosswifttimer定时器
最近在同事的代码里看到了一些定时器使用上的问题,其实Timer虽然用起来看似很简单,但是稍不注意就会出现问题,造成一些偶发性的崩溃。下面这个是常见的写法,看似没问题,其实deinit方法是不会被调用的,Timer自然不会被销毁。classTimerTestViewController:UIViewController{@IBOutletweakvarlabelText:UILabel!varmyT
- JPGradient:可设置渐变背景色、文字色的控件(包括 UIView、UILabel、UIButton)
健了个平_24
Demo使用letgLabel:GradientLabel={letlabel=GradientLabel(frame:CGRect(x:50,y:100,width:300,height:100))returnlabel}()letgBtn:GradientButton={letbtn=GradientButton(type:.system)btn.frame=CGRect(x:50,y:200
- Swift 5.0 UILabel显示html标签的高度计算
ShineYangGod
letattrStr=try!NSMutableAttributedString(data:(answer.content.data(using:.unicode,allowLossyConversion:true)!),options:[.documentType:NSAttributedString.DocumentType.html,.characterEncoding:String.Enc
- Swift-UIKit-UILabel
Vicent_Z
1.描述classUILabel:UIViewUILabel继承自UIView苹果官方文档:Aviewthatdisplaysoneormorelinesofinformationaltext.(是一个描述一行或者多行文本信息的视图)UILabel支持展示属性字符串(attributedstrings).并且支持多行展示,如果设置好约束,还可以进行高度的自适应.UILabel大多通过NSStrin
- swift-改变UIAlertController文字的对齐方式
命运建筑师fly
需求:原生UIAlertController文字都只能居中显示,在有些时候,我们需要提示文字左对齐的呀,就需要用代码来修改了实现:定义importUIKit//用于UIAlertController的文字偏移varsubviews:[UIView]?extensionUIAlertController{varTJL_titleLabel:UILabel?{set{}get{ifTJL_viewAr
- iOS UIScrollView高度自适应
芮淼一线
UIScrollView经常会用来一些高度不确定的场景,要想完全展示(可滚动)需要正确计算contentSize的大小,当子控件很多时手动计算这些frame还是比较复杂,想要简单点就需要利用AutoLayout来实现自适应高度(宽度)。高度自适应时可以在UIScrollView中添加一个contentView,然后对contentView进行约束。然后将其他子控件添加到contentView中,再
- tableview
花开半夏又一年
tableview自适应高度functableView(_tableView:UITableView,heightForRowAtindexPath:IndexPath)->CGFloat{switchindexPath.section{case0:return250default:returnUITableView.automaticDimension}}方法二:functableView(_t
- UIStackView基础用法介绍
口子窖
介绍UIStackView是iOS9新增的一个布局技术。熟练掌握相当节省布局时间。UIStackView是UIView的子类,是用来约束子控件的一个控件。但他的作用仅限于此,他不能用来呈现自身的内容,类似于backgroundColor。当然了,这个控件相当易学,属性只有4个。alttextAxls:子控件的布局方向,水平或者垂直Alignment:类似于UILabel的Alignment属性Di
- 文字阴影
Winny_园球
如果给UILabel直接设置下面的代码,效果仅仅只是多了层黑色的阴影而没有渐变模糊的效果shadow.shadowOffset=CGSizeMake(.5,.5);shadow.shadowColor=[UIColorlightGrayColor];所以推荐下面这段代码,可以实现渐变模糊效果NSShadow*shadow=[[NSShadowalloc]init];shadow.shadowBlu
- 前端--输入框换行,高度自适应
壹拾伍_0bb6
最近项目遇到一个说小不小说大不大的问题,输入框要自动换行,并且高度还得自适应,我试了几种方式,1.input输入,input不能换行,上网查询了说将css设为word-break:break-all;word-wrap:break-word;也是无效的。2.div设置contenteditable="true"属性,这种方法可以实现输入内容自动换行,并且自适应高度,但是项目需要光标从边输入,我试过
- 关于UILabel文字根据指定宽高自适应大小(可以适应任何国家文字)
养猪致富
//可以看到是用宽度直接判断高度,对字体大小直接--,实际上还能优化用宽度去适配。如果在即时显示效果上可能会有点卡顿,建议在手势结束。或者单次ui实现中判断。当然,略微的卡顿延迟还是能完全接受的。-(int)calculationSize:(float)widthheight:(float)heighttext:(NSString*)text{intfontSize;if(width>height
- 微信小程序的swiper轮播图中的图片设置自适应高度的一种方法
Vesuvius688
遇到的坑微信小程序小程序
微信小程序的swiper轮播图中的图片设置自适应高度的一种方法小程序中的轮播图很简单,但是唯一的缺陷就是swiper是固定的150px高度(320px宽度),这样如果传入的图片大于这个高度就会被隐藏。那么如何让图片自适应不同分辨率是一个很重要的问题。一种思路是:获取屏幕宽度,获取图片的宽高,然后等比设置当前屏幕宽度下swiper的高度。1、wxml结构//注意设置mode="widthFix"和s
- labelcontrol 多行_UIlabel多行文字自动换行
weixin_39682940
labelcontrol多行
UILabel*label=[[UILabelalloc]initWithFrame:CGRectMake(10,100,300,150)];label.text=@"Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Helloworld!Hellow
- iOS使用自动布局的那些奇奇怪怪的问题
平凡码农
文章在不断补充中...cell自适应高度在iOS9下会报约束错误。cell的子控件的创建添加及约束的添加都写在init(style:UITableViewCellStyle,reuseIdentifier:String?)方法中程序报错:("","","","","","","")貌似是系统默认了UITableViewCellContentView的高度是44,而我们子布局的约束与之冲突了。经过尝
- (IOS)修改UISearchBar的占位文字颜色
rightmost
//方法一(推荐使用)UITextField*searchField=[searchBarvalueForKey:@"_searchField"];[searchFieldsetValue:[UIColorblueColor]forKeyPath:@"_placeholderLabel.textColor"];//方法二(已过期)[[UILabelappearanceWhenContainedIn
- vue项目 解决el-table自适应高度,vue页面不显示多条滚动条,超出的部分让el-table内部出现滚动条(推荐使用第二种解决方案;TAdaptivePage 组件新增左右分栏布局)
wocwin
vue专栏vue.jselementuiel-tableonresize自适应高度
一、需求后台管理系统:最常见的页面都是由—>左侧菜单、头部+tabView页签、主体数据渲染页面(AppMain);而一般AppMain页面又分为:搜索区域、table数据(分页),可能也会存在底部(footer);大体样子如下:具体需求就是:整个页面不出现滚动条,而超出的部分让table自适应高度(即:让table内部出现滚动条),从而让整个页面一屏显示完整。二、最终效果三、第一种解决方案(推荐
- 微信小程序 图片自适应高度 宽度 完美适配原生或者uniapp
执波仔丶
微信小程序uni-app小程序
-----查了一下百度看到网上图片高度自适应的解决方案基本是靠JS获取图片的宽度进行按比例计算得出图片高度。不是很符合我的需求/于是我脑瓜子一转想到一种新的解决方案不用JS计算也能完美解决。我写了一个组件,直接导入可以使用。---1.新建一个组件bl-adaptation-img.vue2.在main.js中导入//自适应图片图片高度宽度100%importblAdaptationImgfrom'
- iOS 获取UILabel每行的字符串
sergeant
-(NSArray*)linesAtWidth:(CGFloat)width{if(self.text==nil){returnnil;}NSMutableAttributedString*attStr=[[NSMutableAttributedStringalloc]initWithString:self.text];NSMutableParagraphStyle*paragraphStyle=
- React 实现 textarea 文本域自适应高度(autoSize)
天問_
Reactreact.jsjavascript前端
在React应用中,有时需要一个文本域(textarea)能够根据输入的内容自动调整其高度。这在创建具有良好用户体验的表单和界面时非常有用。本文将介绍如何使用React来实现这一功能。一、基本原理textarea的自适应高度实现原理相对简单:根据文本域中的内容动态调整其style.height属性。为了实现这一点,我们需要在文本域的onChange事件中添加处理逻辑。二、实现步骤1.创建基础Rea
- 遍历dom 并且存储(将每一层的DOM元素存在数组中)
换个号韩国红果果
JavaScripthtml
数组从0开始!!
var a=[],i=0;
for(var j=0;j<30;j++){
a[j]=[];//数组里套数组,且第i层存储在第a[i]中
}
function walkDOM(n){
do{
if(n.nodeType!==3)//筛选去除#text类型
a[i].push(n);
//con
- Android+Jquery Mobile学习系列(9)-总结和代码分享
白糖_
JQuery Mobile
目录导航
经过一个多月的边学习边练手,学会了Android基于Web开发的毛皮,其实开发过程中用Android原生API不是很多,更多的是HTML/Javascript/Css。
个人觉得基于WebView的Jquery Mobile开发有以下优点:
1、对于刚从Java Web转型过来的同学非常适合,只要懂得HTML开发就可以上手做事。
2、jquerym
- impala参考资料
dayutianfei
impala
记录一些有用的Impala资料
1. 入门资料
>>官网翻译:
http://my.oschina.net/weiqingbin/blog?catalog=423691
2. 实用进阶
>>代码&架构分析:
Impala/Hive现状分析与前景展望:http
- JAVA 静态变量与非静态变量初始化顺序之新解
周凡杨
java静态非静态顺序
今天和同事争论一问题,关于静态变量与非静态变量的初始化顺序,谁先谁后,最终想整理出来!测试代码:
import java.util.Map;
public class T {
public static T t = new T();
private Map map = new HashMap();
public T(){
System.out.println(&quo
- 跳出iframe返回外层页面
g21121
iframe
在web开发过程中难免要用到iframe,但当连接超时或跳转到公共页面时就会出现超时页面显示在iframe中,这时我们就需要跳出这个iframe到达一个公共页面去。
首先跳转到一个中间页,这个页面用于判断是否在iframe中,在页面加载的过程中调用如下代码:
<script type="text/javascript">
//<!--
function
- JAVA多线程监听JMS、MQ队列
510888780
java多线程
背景:消息队列中有非常多的消息需要处理,并且监听器onMessage()方法中的业务逻辑也相对比较复杂,为了加快队列消息的读取、处理速度。可以通过加快读取速度和加快处理速度来考虑。因此从这两个方面都使用多线程来处理。对于消息处理的业务处理逻辑用线程池来做。对于加快消息监听读取速度可以使用1.使用多个监听器监听一个队列;2.使用一个监听器开启多线程监听。
对于上面提到的方法2使用一个监听器开启多线
- 第一个SpringMvc例子
布衣凌宇
spring mvc
第一步:导入需要的包;
第二步:配置web.xml文件
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi=
- 我的spring学习笔记15-容器扩展点之PropertyOverrideConfigurer
aijuans
Spring3
PropertyOverrideConfigurer类似于PropertyPlaceholderConfigurer,但是与后者相比,前者对于bean属性可以有缺省值或者根本没有值。也就是说如果properties文件中没有某个bean属性的内容,那么将使用上下文(配置的xml文件)中相应定义的值。如果properties文件中有bean属性的内容,那么就用properties文件中的值来代替上下
- 通过XSD验证XML
antlove
xmlschemaxsdvalidationSchemaFactory
1. XmlValidation.java
package xml.validation;
import java.io.InputStream;
import javax.xml.XMLConstants;
import javax.xml.transform.stream.StreamSource;
import javax.xml.validation.Schem
- 文本流与字符集
百合不是茶
PrintWrite()的使用字符集名字 别名获取
文本数据的输入输出;
输入;数据流,缓冲流
输出;介绍向文本打印格式化的输出PrintWrite();
package 文本流;
import java.io.FileNotFound
- ibatis模糊查询sqlmap-mapping-**.xml配置
bijian1013
ibatis
正常我们写ibatis的sqlmap-mapping-*.xml文件时,传入的参数都用##标识,如下所示:
<resultMap id="personInfo" class="com.bijian.study.dto.PersonDTO">
<res
- java jvm常用命令工具——jdb命令(The Java Debugger)
bijian1013
javajvmjdb
用来对core文件和正在运行的Java进程进行实时地调试,里面包含了丰富的命令帮助您进行调试,它的功能和Sun studio里面所带的dbx非常相似,但 jdb是专门用来针对Java应用程序的。
现在应该说日常的开发中很少用到JDB了,因为现在的IDE已经帮我们封装好了,如使用ECLI
- 【Spring框架二】Spring常用注解之Component、Repository、Service和Controller注解
bit1129
controller
在Spring常用注解第一步部分【Spring框架一】Spring常用注解之Autowired和Resource注解(http://bit1129.iteye.com/blog/2114084)中介绍了Autowired和Resource两个注解的功能,它们用于将依赖根据名称或者类型进行自动的注入,这简化了在XML中,依赖注入部分的XML的编写,但是UserDao和UserService两个bea
- cxf wsdl2java生成代码super出错,构造函数不匹配
bitray
super
由于过去对于soap协议的cxf接触的不是很多,所以遇到了也是迷糊了一会.后来经过查找资料才得以解决. 初始原因一般是由于jaxws2.2规范和jdk6及以上不兼容导致的.所以要强制降为jaxws2.1进行编译生成.我们需要少量的修改:
我们原来的代码
wsdl2java com.test.xxx -client http://.....
修改后的代
- 动态页面正文部分中文乱码排障一例
ronin47
公司网站一部分动态页面,早先使用apache+resin的架构运行,考虑到高并发访问下的响应性能问题,在前不久逐步开始用nginx替换掉了apache。 不过随后发现了一个问题,随意进入某一有分页的网页,第一页是正常的(因为静态化过了);点“下一页”,出来的页面两边正常,中间部分的标题、关键字等也正常,唯独每个标题下的正文无法正常显示。 因为有做过系统调整,所以第一反应就是新上
- java-54- 调整数组顺序使奇数位于偶数前面
bylijinnan
java
import java.util.Arrays;
import java.util.Random;
import ljn.help.Helper;
public class OddBeforeEven {
/**
* Q 54 调整数组顺序使奇数位于偶数前面
* 输入一个整数数组,调整数组中数字的顺序,使得所有奇数位于数组的前半部分,所有偶数位于数组的后半
- 从100PV到1亿级PV网站架构演变
cfyme
网站架构
一个网站就像一个人,存在一个从小到大的过程。养一个网站和养一个人一样,不同时期需要不同的方法,不同的方法下有共同的原则。本文结合我自已14年网站人的经历记录一些架构演变中的体会。 1:积累是必不可少的
架构师不是一天练成的。
1999年,我作了一个个人主页,在学校内的虚拟空间,参加了一次主页大赛,几个DREAMWEAVER的页面,几个TABLE作布局,一个DB连接,几行PHP的代码嵌入在HTM
- [宇宙时代]宇宙时代的GIS是什么?
comsci
Gis
我们都知道一个事实,在行星内部的时候,因为地理信息的坐标都是相对固定的,所以我们获取一组GIS数据之后,就可以存储到硬盘中,长久使用。。。但是,请注意,这种经验在宇宙时代是不能够被继续使用的
宇宙是一个高维时空
- 详解create database命令
czmmiao
database
完整命令
CREATE DATABASE mynewdb USER SYS IDENTIFIED BY sys_password USER SYSTEM IDENTIFIED BY system_password LOGFILE GROUP 1 ('/u01/logs/my/redo01a.log','/u02/logs/m
- 几句不中听却不得不认可的话
datageek
1、人丑就该多读书。
2、你不快乐是因为:你可以像猪一样懒,却无法像只猪一样懒得心安理得。
3、如果你太在意别人的看法,那么你的生活将变成一件裤衩,别人放什么屁,你都得接着。
4、你的问题主要在于:读书不多而买书太多,读书太少又特爱思考,还他妈话痨。
5、与禽兽搏斗的三种结局:(1)、赢了,比禽兽还禽兽。(2)、输了,禽兽不如。(3)、平了,跟禽兽没两样。结论:选择正确的对手很重要。
6
- 1 14:00 PHP中的“syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM”错误
dcj3sjt126com
PHP
原文地址:http://www.kafka0102.com/2010/08/281.html
因为需要,今天晚些在本机使用PHP做些测试,PHP脚本依赖了一堆我也不清楚做什么用的库。结果一跑起来,就报出类似下面的错误:“Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/kafka/test/
- xcode6 Auto layout and size classes
dcj3sjt126com
ios
官方GUI
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/AutolayoutPG/Introduction/Introduction.html
iOS中使用自动布局(一)
http://www.cocoachina.com/ind
- 通过PreparedStatement批量执行sql语句【sql语句相同,值不同】
梦见x光
sql事务批量执行
比如说:我有一个List需要添加到数据库中,那么我该如何通过PreparedStatement来操作呢?
public void addCustomerByCommit(Connection conn , List<Customer> customerList)
{
String sql = "inseret into customer(id
- 程序员必知必会----linux常用命令之十【系统相关】
hanqunfeng
Linux常用命令
一.linux快捷键
Ctrl+C : 终止当前命令
Ctrl+S : 暂停屏幕输出
Ctrl+Q : 恢复屏幕输出
Ctrl+U : 删除当前行光标前的所有字符
Ctrl+Z : 挂起当前正在执行的进程
Ctrl+L : 清除终端屏幕,相当于clear
二.终端命令
clear : 清除终端屏幕
reset : 重置视窗,当屏幕编码混乱时使用
time com
- NGINX
IXHONG
nginx
pcre 编译安装 nginx
conf/vhost/test.conf
upstream admin {
server 127.0.0.1:8080;
}
server {
listen 80;
&
- 设计模式--工厂模式
kerryg
设计模式
工厂方式模式分为三种:
1、普通工厂模式:建立一个工厂类,对实现了同一个接口的一些类进行实例的创建。
2、多个工厂方法的模式:就是对普通工厂方法模式的改进,在普通工厂方法模式中,如果传递的字符串出错,则不能正确创建对象,而多个工厂方法模式就是提供多个工厂方法,分别创建对象。
3、静态工厂方法模式:就是将上面的多个工厂方法模式里的方法置为静态,
- Spring InitializingBean/init-method和DisposableBean/destroy-method
mx_xiehd
javaspringbeanxml
1.initializingBean/init-method
实现org.springframework.beans.factory.InitializingBean接口允许一个bean在它的所有必须属性被BeanFactory设置后,来执行初始化的工作,InitialzingBean仅仅指定了一个方法。
通常InitializingBean接口的使用是能够被避免的,(不鼓励使用,因为没有必要
- 解决Centos下vim粘贴内容格式混乱问题
qindongliang1922
centosvim
有时候,我们在向vim打开的一个xml,或者任意文件中,拷贝粘贴的代码时,格式莫名其毛的就混乱了,然后自己一个个再重新,把格式排列好,非常耗时,而且很不爽,那么有没有办法避免呢? 答案是肯定的,设置下缩进格式就可以了,非常简单: 在用户的根目录下 直接vi ~/.vimrc文件 然后将set pastetoggle=<F9> 写入这个文件中,保存退出,重新登录,
- netty大并发请求问题
tianzhihehe
netty
多线程并发使用同一个channel
java.nio.BufferOverflowException: null
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:183) ~[na:1.7.0_60-ea]
at java.nio.ByteBuffer.put(ByteBuffer.java:832) ~[na:1.7.0_60-ea]
- Hadoop NameNode单点问题解决方案之一 AvatarNode
wyz2009107220
NameNode
我们遇到的情况
Hadoop NameNode存在单点问题。这个问题会影响分布式平台24*7运行。先说说我们的情况吧。
我们的团队负责管理一个1200节点的集群(总大小12PB),目前是运行版本为Hadoop 0.20,transaction logs写入一个共享的NFS filer(注:NetApp NFS Filer)。
经常遇到需要中断服务的问题是给hadoop打补丁。 DataNod